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

Обсуждение задачи 1156. Два тура

Anybody know why wa4?
Послано tiancaihb 17 сен 2009 05:11
Very strange... I tried all tests here and they all worked well. It's a DP,right? But I always get wa4. I added this to my code: when I worked out my answer, I'll check them myself. If there are some shouldn't be in the same pair,then while(1). As a result I got TLE4. So it obviously I've made a wrong answer. BUT HOW COULD IT HAPPEN!!!
Re: Anybody know why wa4?
Послано tiancaihb 18 сен 2009 15:11
Well, it was because of my wrong algo.
And I've got WA7 later, that's because I misspelled IMPOSSIBLE in dfs. (There were two of this word in my prog, one is in dfs and the other is after DP)
It took me an hour to debug for this! Whoa-a!