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

1214
Posted by Vladimir Markheev 13 Mar 2005 20:55
I can't really understand what is wrong!!!
Appreciate for any hint.

var
  x, y: longint;
begin
  readln(x, y);
  if (x > 0) and (y > 0) and (x+y > 0) and ((x or y) and 1 = 1) then write(y, ' ', x)
  else write(x, ' ', y);
end.
Re: 1214
Posted by Vladimir Markheev 13 Mar 2005 21:44
Oops! Sorry!
The problem already is found and revised.