My 2001 UCF High School Contest Solutions


Note: In solving curling, I found a discrepancy with the posted output. After carefully combing through it and not finding any major bugs, I looked at one of the test cases with a discrepancy. In that test case, I saw a stone being counted that was over one hundred inches from the button, which was clearly against what the problem statement stated. Then, when I looked at the judge solution, I saw that the judge used 78.0 inches for the boundary for determining if neither team scored points, but once a team had at least one rock that was 78.0 inches or closer, the judge solution allowed rocks from that team upto 150 inches away from the button to be scored, which is in disagreement to the problem statement. I took the judge solution, changed both instances of 150 used in this context to 78, and then created a new output file. This output file matched mine. So, I've posted the corrected input and output, as well as the corrected judge solution.