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

Common Board

is there any tricks int the problem 1112
Posted by tangandctang 31 Mar 2003 07:56
 if the input looks like this :
 3
 3 1
 6 3
 6 3
 should the output be
  2
  2 3
  3 6
 or other .
Re: is there any tricks int the problem 1112
Posted by Ural_Happy New Year! 31 Mar 2003 11:18
>  if the input looks like this :
>  3
>  3 1
>  6 3
>  6 3
The answer should be :
2
1 3
3 6