Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8484
41724
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 0002.7 6228 3548 Accepted 100
1 1 0003.6 6228 3552 Accepted 100
2 1 0003.0 6228 3480 Accepted 100
3 1 0003.2 6228 3552 Accepted 100
4 1 0003.1 6228 3544 Accepted 100
5 1 0002.6 6228 3540 Accepted 100
6 1 0003.0 6228 3540 Accepted 100
7 2 0324.6 24736 21716 Accepted 100
8 2 0408.2 28192 25276 Accepted 100
9 2 0620.4 44676 41724 Accepted 100
10 2 0444.3 33340 30240 Accepted 100
11 2 0426.2 30832 27960 Accepted 100
12 2 0461.8 32904 30076 Accepted 100
13 2 0459.0 43992 41116 Accepted 100
14 3 0003.4 6228 3584 Accepted 100
15 3 0003.3 6228 3648 Accepted 100
16 3 0003.4 6228 3536 Accepted 100
17 3 0003.1 6228 3584 Accepted 100
18 3 0006.2 6228 3596 Accepted 100
19 3 0003.3 6228 3596 Accepted 100
20 3 0004.3 6228 3536 Accepted 100
21 4 0006.3 6388 3784 Accepted 100
22 4 0014.9 6368 3764 Accepted 100
23 4 0005.4 6360 3696 Accepted 100
24 4 0005.9 6372 3612 Accepted 100
25 4 0005.7 6368 3684 Accepted 100
26 4 0005.7 6364 3688 Accepted 100
27 4 0004.7 6396 3852 Accepted 100
28 5 0941.5 29812 26716 Accepted 100
29 5 0655.2 24680 21700 Accepted 100
30 5 0881.0 26276 23176 Accepted 100
31 5 0509.1 19736 16696 Accepted 100
32 5 1058.0 29416 26336 Accepted 100
33 5 0806.1 29300 26076 Accepted 100
34 5 0391.8 36064 32868 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.1 KB
Back to Top