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 thread

Discussion of Problem 1226. esreveR redrO

Reply to message

  • Messages should be written in English and correspond to the matter of the website.
  • Messages should not contain offences and obscene words.
  • Messages should not contain correct solutions.
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.


JUDGE_ID
Subject