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 1227. Rally Championship

To Admins
Posted by Petr Huggy (Pskov) 21 Nov 2010 12:50
In test 8, probably, the length of route S < 1 or > 1.000.000, which contradicts to the problem's conditions.

If I have a line `assert(1 <= route && route <= 1000000)' in my C++ code, I get WA8. If I comment it, I get AC.

BTW, why I get `WA' and not `Crash' as before? How it is supposed to check incorrect data then&???