Toggle navigation
NTHU Online Judge
Contest
Problem
Submit
Status
3
lawrence910426
Logout
10181 - PG - Warp Speed II
Status
|
Limits
Submit
×
Close
Limits
Time
Memory
Case 1
16 sec
32 MB
Case 2
16 sec
32 MB
Description
https://icpcarchive.ecs.baylor.edu/external/61/6147.pdf
Input
Output
Sample Input
Download
4 5 1 2 6 1 3 4 3 17 2 3 9 3 1 21 1 8 0 0 0 0 0 3 3 2 4 3 2 2 4 3 1 4 2 2 7 7 0 4 1 2 3 2
Sample Output
Download
9 3 2 23 1 1 2 3
Tags
Add Tag
Discuss