Problem : http://www.usaco.org/index.php?page=viewproblem2&cpid=57222
My code : https://pastebin.com/gsFhSenz19
The first query of the sample test case gives wrong answer, but the second and third queries come out correctly. Why is this so?
created
last reply
- 1
reply
- 668
views
- 2
users
- 2
links