ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1403. Courier

WA 5
Posted by Denis 9 Nov 2007 02:21
Huh! Silly mistake! Be careful while counting numbers of deliveries!
Try such test:
5
1 5
3 14
6 4
8 1
9 7
While having WA5 I had answer:
5
0 0 0 0 2
and after:
5
1 2 3 4 5.

Edited by author 09.11.2007 02:33