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 1074. Very Short Problem

Output Limit Exceeded #12 hint
Posted by Cebotari Vladislav 12 Apr 2019 17:22
Take care of new line endings and make sure that the
second line is always read properly.
In my case the problem was that the second line was skipped because of wrong transition
in my FSM so the wrong line was read into N, so it printed more characters after the point than it should.