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 1944. Record of the Attack at the Orbit

Aliaksei About output [3] // Problem 1944. Record of the Attack at the Orbit 5 Jan 2013 15:20
Is the first test from conditions? If answer is "yes", then why the system say "WA1"? The program works correctly on my computer. Maybe, I misunderstood something important, and my output has wrong format? Help me, please.


Edited by author 05.01.2013 15:42
Sandro (USU) Re: About output [2] // Problem 1944. Record of the Attack at the Orbit 5 Jan 2013 15:50
Use "read" instead of "readln"
Aliaksei Re: About output [1] // Problem 1944. Record of the Attack at the Orbit 5 Jan 2013 16:00
Thank you!
Hristo Nikolaev (B&W) Re: About output // Problem 1944. Record of the Attack at the Orbit 8 Dec 2022 16:08
I had a very similar problem - WA1 ... each test I could think of was working correctly.
Finally I changed the new line from \r\n to \n - that fixed the problem.