Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3500
27240
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 0010.7 14648 8304 Accepted 100
1 1 0009.1 14648 8392 Accepted 100
2 1 0009.3 14648 8540 Accepted 100
3 1 0009.4 14648 8564 Accepted 100
4 1 0009.2 14648 8388 Accepted 100
5 1 0010.0 14648 8540 Accepted 100
6 1 0010.4 14648 8640 Accepted 100
7 2 0173.0 21424 17304 Accepted 100
8 2 0193.9 23236 19252 Accepted 100
9 2 0315.2 29760 27240 Accepted 100
10 2 0224.7 25548 22080 Accepted 100
11 2 0210.1 24088 20436 Accepted 100
12 2 0226.6 24848 21344 Accepted 100
13 2 0292.4 30136 27212 Accepted 100
14 3 0010.0 14648 8548 Accepted 100
15 3 0010.6 14648 8344 Accepted 100
16 3 0010.1 14648 8576 Accepted 100
17 3 0010.0 14648 8652 Accepted 100
18 3 0010.2 14648 8320 Accepted 100
19 3 0010.2 14648 8548 Accepted 100
20 3 0009.9 14648 8584 Accepted 100
21 4 0011.9 14780 8668 Accepted 100
22 4 0011.1 14780 8496 Accepted 100
23 4 0011.1 14648 8576 Accepted 100
24 4 0010.0 14648 8464 Accepted 100
25 4 0010.4 14780 8480 Accepted 100
26 4 0011.4 14648 8632 Accepted 100
27 4 0011.3 14648 8688 Accepted 100
28 5 0290.6 21776 19432 Accepted 100
29 5 0218.9 20192 17064 Accepted 100
30 5 0234.9 20720 17824 Accepted 100
31 5 0143.5 18740 14632 Accepted 100
32 5 0268.7 21644 19356 Accepted 100
33 5 0254.4 21644 19172 Accepted 100
34 5 0237.1 25556 22908 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.01 KB
Back to Top