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 1191. Catch the thief!

What's the answer for this input???
Posted by Vladimir Milenov Vasilev 12 Apr 2002 05:45
What is the output for this two inputs??

3 2
1 2


and

3 2
1 2 2
Re: What's the answer for this input???
Posted by Dream Team ETU 27 Sep 2002 20:23
> What is the output for this two inputs??
>
> 3 2
> 1 2
>
YES
>
> and
>
> 3 2
> 1 2 2
>
YES

IMHO
Re: What's the answer for this input???
Posted by Dream Team ETU 27 Sep 2002 20:23
> What is the output for this two inputs??
>
> 3 2
> 1 2
>
YES
>
> and
>
> 3 2
> 1 2 2
>
YES

IMHO
I'm afraid that the answer should be NO.
Posted by SunCat 1 May 2003 09:15
> What is the output for this two inputs??
>
> 3 2
> 1 2
>
>
> and
>
> 3 2
> 1 2 2
Re: What's the answer for this input???
Posted by brus07 (Lviv NU) 28 Jun 2007 19:38
Vladimir Milenov Vasilev wrote 12 April 2002 05:45
What is the output for this two inputs??

3 2
1 2
Answer: NO

and
Vladimir Milenov Vasilev wrote 12 April 2002 05:45
3 2
1 2 2
Answer: NO

Edited by author 28.06.2007 19:38
Re: What's the answer for this input???
Posted by elmariachi1414 (TNU) 25 Jul 2007 19:37
Second case is incorrect.
It must be

3 3
1 2 2