ENG  RUSTimus Online Judge
Online Judge
Online contests
About Online Judge
Frequently asked questions
Site news
Problem set
Submit solution
Judge status
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
back to board

Discussion of Problem 1226. esreveR redrO

That problem is EVIL
Posted by Mahilewets 12 May 2017 17:30
I think I can not get AC because of "Enter"  key on Windows  is "\r\n"  and C++ scanf()  reads it as "\n"  and printf()  writes "\n" as "\r\n".
So,  if in input is some "\n",  then I would read it as "\n" and then print it as "\r\n"!!!  I don't know how to fix that.
Also there were problems with EOF-character.
Re: That problem is EVIL
Posted by ViktYusk 6 Dec 2018 23:45
Yeah, I have the same problem!
Re: That problem is EVIL
Posted by egardoz 7 Dec 2018 00:34
My ass is burning after solving this problem