UMD Programming Contest Questions and Answers

  University    College   Department  About Us     Contact Info   

Questions

Our Java Solutions

  1. Counting Swann's Coins
    (initial skeleton code, full solution)
  2. Dividing the Pirate Hoard
    (initial skeleton code, full solution)
  3. Pirates on Parade
    (initial skeleton code, full solution)
  4. Pirates' Code
    (initial skeleton code, full solution)
  5. Protect Our Treasure!
    (initial skeleton code, full solution)
  6. Pirates' Path
    (initial skeleton code, full solution)
  7. Navigating the Reefs
    (initial skeleton code, full solution)
  8. Pirates' Gold
    (initial skeleton code, full solution)

Solution Descriptions

Test Data Used For Judging

  1. Counting Swann's Coins
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5

  2. Dividing the Pirate Hoard
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8

  3. Pirates on Parade
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8

  4. Pirates' Code
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8
    Input 9 Output 9
    Input 10 Output 10
    Input 11 Output 11

  5. Protect Our Treasure!
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8
    Input 9 Output 9
    Input 10 Output 10

  6. Pirates' Path
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8

  7. Navigating the Reefs
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8
    Input 9 Output 9
    Input 10 Output 10

  8. Pirates' Gold
    Input 1 Output 1
    Input 2 Output 2
    Input 3 Output 3
    Input 4 Output 4
    Input 5 Output 5
    Input 6 Output 6
    Input 7 Output 7
    Input 8 Output 8