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
1441
. From the History of Gringotts Bank
HINT
Posted by
hoan
3 Jan 2011 23:27
if your algo use euleraen tour and also add edge to the graph, note that the edge can be over that 20000.
this test is good:
20000 19999
1 2
1 3
1 4
.
.
.
1 20000
GOOD LUCK & HAPPY NEW YEAR!!!
© 2000–2024
Timus Online Judge Team
. All rights reserved.