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 1567. SMS-spam

the example result is wrong ! wrong = 114, right = 113
I calculate the example and there is only 113, i add 1 to the result and get WA hundreds of times.
I no longer add 1 to the result and get AC !
Therefore, my AC program give the result of 133 instead of 114 in the example.

It's very very very simple !
there is only one line, no number, no strange letter !

Edited by author 11.03.2009 13:11
Re: the example result is wrong ! wrong = 114, right = 113
Posted by yaho0o0 16 Apr 2009 00:57
you are not write my AC program cout 114
The example is wrong!
Posted by Spatarel Dan Constantin 10 Sep 2011 02:42
I confirm that the example is wrong. My AC source returns 113.

I had some trouble getting AC with the '\n' character. The problem statement says that you may find such characters in the input but nothing about their price. I valued them at 0 and got AC.
Re: The example is wrong!
Posted by Sandro (USU) 10 Sep 2011 12:39
to Spatarel Dan Constantin: You are wrong, your AC solution returns 114. :)
The example is finished with an end of line.