ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1237. Evacuation Plan

2 Admins.
Послано Alexander Fedulin 18 ноя 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.
Послано Sandro (USU) 18 ноя 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.
Послано Alexander Fedulin 18 ноя 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?]
Послано Dexter 8 апр 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?