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 1134. Cards

Show all messages Hide all messages

What's the answer for 2 2 1 1 and 2 2 2 2 ? MadPsyentist/Sam 17 Jan 2002 12:20
Yes and no respectively (+) shitty.Mishka 17 Jan 2002 14:04
1. 2 2 1 1 - YES
This is such a sequence:
(1;2) and (1;0)
2. 2 2 2 2 - NO
This is impossible because number 2 is written only on one card (2;1)
so it couldn't appear twice.

Good luck!
> 1. 2 2 1 1 - YES
> This is such a sequence:
> (1;2) and (1;0)
> 2. 2 2 2 2 - NO
> This is impossible because number 2 is written only on one card (2;1)
> so it couldn't appear twice.
>
> Good luck!
>
please tell me how 2 2 1 1 can be YES.Because if Nick take cards for example that

0 1 reads 1
1 2 reads 1
2 3 reads 2
and he can't write 1 2 and 2 3 and answer must be NO i think
Here the first two numbers are N and M