Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3292
30576
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 0008.3 18712 8060 Accepted 100
1 1 0007.7 18712 8224 Accepted 100
2 1 0008.1 18712 8236 Accepted 100
3 1 0008.3 18712 8364 Accepted 100
4 1 0008.2 18712 8280 Accepted 100
5 1 0008.3 18712 8212 Accepted 100
6 1 0008.0 18712 8364 Accepted 100
7 2 0144.1 25904 19780 Accepted 100
8 2 0165.3 27112 21204 Accepted 100
9 2 0274.9 33324 30576 Accepted 100
10 2 0196.4 28972 23676 Accepted 100
11 2 0188.8 28144 22788 Accepted 100
12 2 0204.2 29064 24328 Accepted 100
13 2 0249.8 32816 29228 Accepted 100
14 3 0008.3 18712 8236 Accepted 100
15 3 0008.5 18712 8388 Accepted 100
16 3 0008.6 18712 8252 Accepted 100
17 3 0009.7 18712 8228 Accepted 100
18 3 0009.1 18712 8308 Accepted 100
19 3 0009.0 18712 8236 Accepted 100
20 3 0011.5 18712 8308 Accepted 100
21 4 0010.0 18844 8444 Accepted 100
22 4 0012.1 18712 8512 Accepted 100
23 4 0009.7 18712 8464 Accepted 100
24 4 0010.7 18712 8388 Accepted 100
25 4 0010.2 18712 8384 Accepted 100
26 4 0009.5 18712 8312 Accepted 100
27 4 0009.9 18712 8440 Accepted 100
28 5 0288.0 28480 25516 Accepted 100
29 5 0218.4 26368 21784 Accepted 100
30 5 0243.6 27028 22900 Accepted 100
31 5 0163.3 24256 18140 Accepted 100
32 5 0287.3 28348 25248 Accepted 100
33 5 0262.1 28216 25248 Accepted 100
34 5 0211.9 30468 26712 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.42 KB
Back to Top