Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6146
40836
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.7 28868 8296 Accepted 100
1 1 0008.3 28868 8144 Accepted 100
2 1 0008.5 28868 8220 Accepted 100
3 1 0008.3 28868 8288 Accepted 100
4 1 0008.1 28868 8228 Accepted 100
5 1 0008.2 28868 8312 Accepted 100
6 1 0008.4 28868 8316 Accepted 100
7 2 0338.0 35644 24592 Accepted 100
8 2 0430.5 37320 27032 Accepted 100
9 2 0533.0 43852 40836 Accepted 100
10 2 0461.8 39636 30756 Accepted 100
11 2 0475.9 38308 29300 Accepted 100
12 2 0511.6 38936 31356 Accepted 100
13 2 0436.8 44216 39316 Accepted 100
14 3 0008.5 28868 8376 Accepted 100
15 3 0008.7 28868 8304 Accepted 100
16 3 0008.6 28868 8336 Accepted 100
17 3 0008.5 28868 8176 Accepted 100
18 3 0008.3 28868 8348 Accepted 100
19 3 0008.5 28868 8260 Accepted 100
20 3 0008.5 28868 8392 Accepted 100
21 4 0009.8 28868 8524 Accepted 100
22 4 0009.5 28868 8516 Accepted 100
23 4 0009.4 28868 8424 Accepted 100
24 4 0009.5 28868 8576 Accepted 100
25 4 0009.3 28868 8508 Accepted 100
26 4 0009.4 28868 8452 Accepted 100
27 4 0009.8 28868 8560 Accepted 100
28 5 0471.3 35996 32564 Accepted 100
29 5 0324.4 34412 27204 Accepted 100
30 5 0433.3 34940 28976 Accepted 100
31 5 0259.0 32960 22244 Accepted 100
32 5 0505.4 35864 32268 Accepted 100
33 5 0418.1 35864 32084 Accepted 100
34 5 0362.7 39780 34640 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.68 KB
Back to Top