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
WA3.
Posted by
Dmitry(Vologda ML)
14 Dec 2012 05:57
Run the program on this test: n = 50000
0 1 1
1 2 1
...
i i+1 1
...
50000-2 50000-1 1
m = 1
0 1
Edited by author 14.12.2012 05:58
Edited by author 14.12.2012 05:58
© 2000–2024
Timus Online Judge Team
. All rights reserved.