Hi fellows!
You may be interested to look at this problem from Live Archive
Relations of order, Live Archive - #2355.
Moderator: Board moderators
Relations of order, Live Archive - #2355.
Last edited by serur on Fri Aug 18, 2006 3:34 pm, edited 1 time in total.
If there is ever a war between men and machines, it is easy to guess who will start it (c) Arthur Clarke
Here's a test case where your program gives wrong answer:
Code: Select all
26 2
X<Y
Y<X
0 0