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 1527. Bad Roads

If you have Crash @ 5
Posted by williamljb 20 May 2011 18:25
I had crash 5 for many times, and I finally found my fault and then I got AC.
My fault is that I did not realize that MAXMONEY may be greater than n.
So I used these to try to find an appropriate ending state:
  for i:=1 to maxmoney do
    if d[t*100+i]
      then ......
then I got Crash 5.

Sorry for my poor English.  :(

Edited by author 20.05.2011 18:26

Edited by author 20.05.2011 18:26
Re: If you have Crash @ 5
Posted by Marshall Mathers 21 May 2011 06:00
really poor , monstrous jb

Edited by author 21.05.2011 06:13