ENG
RUS
Timus 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
1226
. esreveR redrO
WA2 on Java
Posted by
d3m0n1c
16 Oct 2011 15:02
Use do {} while(true);
And when you read in cycle -1 then write reversed word and [break;] cycle without writing -1
Hope this will help you.
Edited by author 16.10.2011 15:41
© 2000–2024
Timus Online Judge Team
. All rights reserved.