|
|
back to boardI suspect the test case #13 have some other characters, not only '>', '<' and CR/LF. att Edited by author 20.09.2006 14:31 Re: I suspect the test case #13 have some other characters, not only '>', '<' and CR/LF. Yes you are right. When I am read (cin >> s), where s is string, I got WA13. When I am read by getchar, and bring in string '>' or '<', I got AC Re: I suspect the test case #13 have some other characters, not only '>', '<' and CR/LF. You can not use cin >> s because there are CR/LF characters in the input. For example such test is correct: 4 >> << P.S. Test 13 is correct now. Edited by author 23.07.2007 22:31 |
|
|