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
1658
. Sum of Digits
If you have TLE in java
Posted by
Cebotari Vladislav
15 May 2015 21:40
Instead of doing a lot of System.out.print, write all chars in a StringBuilder, and then print the StringBuilder once in the end.
© 2000–2024
Timus Online Judge Team
. All rights reserved.