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
1471
. Distance in the Tree
Java
Posted by
Dmitri Belous
10 Mar 2017 00:06
On Java I reccomend to use ArrayList instead Stack. It saved me about 0.4 sec.
Edited by author 10.03.2017 00:06
© 2000–2024
Timus Online Judge Team
. All rights reserved.