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 1351. Good Gnusmas – Dead Gnusmas

Is Sample Input Correct?
Posted by Sergey Baskakov, Raphail and Denis 6 Apr 2005 01:02
It is said in the situation that
1 <= |X1|, |Y1|, |X2|, |Y2| <= 30000.

But the Sample Input provided shows, that Y1=0 and X2=0 are allowed.

So, Sample Input contradicts the problem situation, doesn't it?
Re: Is Sample Input Correct? (+)
Posted by Victor Barinov (TNU) 6 Apr 2005 01:37
I think that your observation is right. It is bad description of problem.

I think authors wants say, that
0 ≤ |X1|, |Y1|, |X2|, |Y2| ≤ 30000,
but |X1| + |Y1| > 0  and |X2| + |Y2| > 0.

I.E. (X1, Y1) != (0, 0)  and  (X2, Y2) != 0.