Universal Cup Judging System
Universal Cup
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
Time Limit:
12.0 s
Memory Limit:
1024 MB
The 2nd Universal Cup. Stage 22: Hangzhou
C. Yet Another Shortest Path Query
This problem is prepared by
clrs97 .