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

About output
Posted by Aliaksei 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
Re: About output
Posted by Sandro (USU) 5 Jan 2013 15:50
Use "read" instead of "readln"
Re: About output
Posted by Aliaksei 5 Jan 2013 16:00
Thank you!
Re: About output
Posted by Hristo Nikolaev (B&W) 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.