|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияSomebody give me a hint about this test or possible mistake. Thanks to all who will answer I have the same problem. :( 1 1 a?a (my first program failed on this case) thank you. it helps me very much. Now i get AC My Answer is 3, but i have WA on 19th test. Where is the problem? I'v just got AC, try those tests 1 1 a?a ANS = 3 1 2 a?a? ANS = 4 My answer is 5 ,but i get WA on 17th test 10 15 The first line contains the integer numbers N and M . The second line contains an advertisement. The advertisement consists of from 1 to 100000 characters. Each character is either a latin letter, a space, a digit or a punctuation mark "." full stop, "," comma, ";" semicolon, ":" colon, "!" exclamation mark, "?" question mark, "-" hyphen or """ double quotes. The advertisement is terminated by the end of line. My answer is 36 on this test, but i don't know it is right or wrong,who can tell me the answer? Edited by author 09.05.2012 19:05 Edited by author 09.05.2012 19:05 Edited by author 09.05.2012 19:06 Yeah, it’s real answer))) My AC program say this Try test 1 4 abcd&abcd ANS: 3 I don’t know real test, but try this))) Edited by author 18.06.2012 01:46 Edited by author 18.06.2012 01:47 |
|
|