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 1237. Evacuation Plan

2 Admins.
Posted by Alexander Fedulin 18 Nov 2009 13:13
Could you verify test #1 and my output for this test? I stressed my solution with earlier one (AC solution) and have not found any bad test or mistake. Also i tested my solution on sample test from statement. May be it connected with difference of compiler i use and your compiler.
Re: 2 Admins.
Posted by Sandro (USU) 18 Nov 2009 14:04
The 1st test is a 1st sample test. Your last solution gives the following incorrect answer on it:

SUBOPTIMAL
0 0 0 0
0 0 6 0
0 0 0 0

Edited by author 18.11.2009 14:05
Re: 2 Admins.
Posted by Alexander Fedulin 18 Nov 2009 14:18
I have tested it again. Result is as in the statement. Could you place somewhere you compiler.. I can't find it for free.

Edited by author 18.11.2009 14:22


Edited by author 18.11.2009 14:22
Re: 2 Admins. [Stack Overflow? But where?]
Posted by Dexter 8 Apr 2010 20:31
Why my solution has Stack Overflow on test case #7? Could you admins please just tell me where the overflow happens (on which stack/array)? Or is it an infinite recursion in a function?