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 1881. Long problem statement

WA#4
Posted by Kot 30 Jan 2016 21:12
I've got accepted after adding the condition of end of file in creating new line. May be, it will be useful.

Edited by author 31.01.2016 15:50

Edited by author 31.01.2016 15:50
Re: WA#4
Posted by Hunarmand 12 Feb 2019 21:51
2 5 11
as
fg
asdf
asdfr
a
qwer
as
s
s
qwer
e

Correct answer is 5