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 1135. Recruits

Show all messages Hide all messages

att

Edited by author 20.09.2006 14:31
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
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