Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8406
41744
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~6 $N,Q \leq 20$ 10 / 10
2 7~13 對於每個城市最多只有兩條道路連接該城市和其他城市 21 / 21
3 14~20 $N,Q \leq 300$ 10 / 10
4 21~27 $N,Q \leq 2000$ 16 / 16
5 28~34 無其他限制 43 / 43

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0003.0 6228 3544 Accepted 100
1 1 0002.9 6228 3548 Accepted 100
2 1 0003.1 6228 3560 Accepted 100
3 1 0003.1 6228 3504 Accepted 100
4 1 0003.2 6228 3492 Accepted 100
5 1 0002.7 6228 3556 Accepted 100
6 1 0002.9 6228 3344 Accepted 100
7 2 0330.4 24740 21628 Accepted 100
8 2 0411.9 28196 25356 Accepted 100
9 2 0563.7 44676 41744 Accepted 100
10 2 0426.4 33336 30292 Accepted 100
11 2 0434.2 30836 28008 Accepted 100
12 2 0453.6 32900 30156 Accepted 100
13 2 0464.1 43992 41228 Accepted 100
14 3 0003.3 6228 3572 Accepted 100
15 3 0003.5 6228 3532 Accepted 100
16 3 0003.3 6228 3596 Accepted 100
17 3 0003.4 6228 3584 Accepted 100
18 3 0003.3 6228 3584 Accepted 100
19 3 0003.4 6228 3604 Accepted 100
20 3 0003.6 6228 3612 Accepted 100
21 4 0005.9 6388 3736 Accepted 100
22 4 0005.8 6368 3760 Accepted 100
23 4 0005.3 6360 3652 Accepted 100
24 4 0005.9 6372 3656 Accepted 100
25 4 0005.6 6368 3684 Accepted 100
26 4 0005.6 6364 3716 Accepted 100
27 4 0005.0 6396 3856 Accepted 100
28 5 0905.9 29812 26600 Accepted 100
29 5 0641.3 24680 21564 Accepted 100
30 5 0853.6 26276 23280 Accepted 100
31 5 0516.1 19736 16680 Accepted 100
32 5 1091.7 29416 26304 Accepted 100
33 5 0810.9 29300 26180 Accepted 100
34 5 0418.7 36060 33320 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.09 KB
Back to Top