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

Обсуждение задачи 1191. Держи вора!

Vladimir Milenov Vasilev What's the answer for this input??? [5] // Задача 1191. Держи вора! 12 апр 2002 05:45
What is the output for this two inputs??

3 2
1 2


and

3 2
1 2 2
Dream Team ETU Re: What's the answer for this input??? // Задача 1191. Держи вора! 27 сен 2002 20:23
> What is the output for this two inputs??
>
> 3 2
> 1 2
>
YES
>
> and
>
> 3 2
> 1 2 2
>
YES

IMHO
Dream Team ETU Re: What's the answer for this input??? // Задача 1191. Держи вора! 27 сен 2002 20:23
> What is the output for this two inputs??
>
> 3 2
> 1 2
>
YES
>
> and
>
> 3 2
> 1 2 2
>
YES

IMHO
SunCat I'm afraid that the answer should be NO. // Задача 1191. Держи вора! 1 май 2003 09:15
> What is the output for this two inputs??
>
> 3 2
> 1 2
>
>
> and
>
> 3 2
> 1 2 2
brus07 (Lviv NU) Re: What's the answer for this input??? [1] // Задача 1191. Держи вора! 28 июн 2007 19:38
Vladimir Milenov Vasilev писал(a) 12 апреля 2002 05:45
What is the output for this two inputs??

3 2
1 2
Answer: NO

and
Vladimir Milenov Vasilev писал(a) 12 апреля 2002 05:45
3 2
1 2 2
Answer: NO

Edited by author 28.06.2007 19:38
elmariachi1414 (TNU) Re: What's the answer for this input??? // Задача 1191. Держи вора! 25 июл 2007 19:37
Second case is incorrect.
It must be

3 3
1 2 2