|
|
вернуться в форум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 you are not write my AC program cout 114 The example is wrong! 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! to Spatarel Dan Constantin: You are wrong, your AC solution returns 114. :) The example is finished with an end of line. |
|
|