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 1837. Isenbaev's Number

Crash (access violation) test #17
Posted by alex270295 6 Aug 2011 20:07
can anybody help me with this problem?
Re: Crash (access violation) test #17
Posted by alex270295 6 Aug 2011 20:11
can somebody tell what kind of test is it
Re: Crash (access violation) test #17
Posted by Avriskin[SESC USU] 8 Aug 2011 00:10
Check array sizes.
Re: Crash (access violation) test #17
Posted by alex270295 8 Aug 2011 16:42
i have already checked. all right. maximum number of participants is 300.
Re: Crash (access violation) test #17
Posted by alex270295 8 Aug 2011 16:42
[code deleted]

Edited by moderator 19.11.2019 23:09
Re: Crash (access violation) test #17
Posted by TinyJanssen 5 Dec 2012 01:38
Maybe you found the error, but i got stuck on this problem and tried your solution.
I hoped to find the problem of my submission.
When there are 300 different names without Isenbaev, your program added Isenbaev with number 301 and crashes because of the array index > 300
setting array to [1..301] did the trick and AC
Re: Crash (access violation) test #17
Posted by jim 8 Apr 2018 16:46
thank you! your reply help me a lot!
Re: Crash (access violation) test #17
Posted by Doan Phu Sanh 30 May 2019 08:47
thank you, you saved my day