UMD Programming Contest Questions and Answers

  University    College   Department  About Us     Contact Info   

Questions

Archive

Our Java Solutions

  1. Bart's Skateboard Park
    (initial skeleton code, full solution)
  2. Simpsons' Hidden Talents
    (initial skeleton code, full solution)
  3. A Knight And A Queen
    (initial skeleton code, full solution part 1, part 2 )
  4. Sorted Trail Map
    (initial skeleton code, full solution)
  5. Collecting Forest Wildlife
    (initial skeleton code, full solution)
  6. Crowded Forest Wildlife
    (initial skeleton code, full solution)
  7. Homer's Broken Remote
    (initial skeleton code, full solution)
  8. Spider Pig's Doughnut Eating Spree
    (initial skeleton code, full solution)

Solution Descriptions

Test Data Used For Judging

  1. Bart's Skateboard Park
    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

  2. Simpsons' Hidden Talents
    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
    Input 12 Output 12

  3. A Knight And A Queen
    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

  4. Sorted Trail Map
    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

  5. Collecting Forest Wildlife
    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

  6. Crowded Forest Wildlife
    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
    Input 12 Output 12
    Input 13 Output 13

  7. Homer's Broken Remote
    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

  8. Spider Pig's Doughnut Eating Spree
    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
    Input 12 Output 12
    Input 13 Output 13