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!

Vladimir Milenov Vasilev What's the answer for this input??? [5] // Problem 1191. Catch the thief! 12 Apr 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??? // Problem 1191. Catch the thief! 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
Dream Team ETU Re: What's the answer for this input??? // Problem 1191. Catch the thief! 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
> 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] // Problem 1191. Catch the thief! 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
elmariachi1414 (TNU) Re: What's the answer for this input??? // Problem 1191. Catch the thief! 25 Jul 2007 19:37
Second case is incorrect.
It must be

3 3
1 2 2