Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3085
27160
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 0009.0 14804 8292 Accepted 100
1 1 0008.7 14804 8048 Accepted 100
2 1 0009.1 14804 8276 Accepted 100
3 1 0009.3 14804 8228 Accepted 100
4 1 0008.8 14804 8228 Accepted 100
5 1 0008.9 14804 8048 Accepted 100
6 1 0008.8 14804 8280 Accepted 100
7 2 0139.3 21584 17096 Accepted 100
8 2 0163.2 23260 19060 Accepted 100
9 2 0258.2 29788 27160 Accepted 100
10 2 0182.7 25568 21672 Accepted 100
11 2 0186.5 24248 20344 Accepted 100
12 2 0205.9 24872 21284 Accepted 100
13 2 0245.1 30152 27100 Accepted 100
14 3 0009.8 14804 8256 Accepted 100
15 3 0009.6 14804 8240 Accepted 100
16 3 0009.3 14804 8224 Accepted 100
17 3 0009.4 14804 8292 Accepted 100
18 3 0008.9 14804 8060 Accepted 100
19 3 0009.4 14804 8240 Accepted 100
20 3 0009.6 14804 8244 Accepted 100
21 4 0010.5 14804 8352 Accepted 100
22 4 0010.6 14804 8336 Accepted 100
23 4 0010.5 14804 8296 Accepted 100
24 4 0009.9 14804 8260 Accepted 100
25 4 0010.3 14804 8320 Accepted 100
26 4 0010.5 14804 8352 Accepted 100
27 4 0011.1 14804 8392 Accepted 100
28 5 0257.8 21932 19160 Accepted 100
29 5 0175.2 20348 16752 Accepted 100
30 5 0224.8 20876 17464 Accepted 100
31 5 0151.7 18896 14372 Accepted 100
32 5 0244.4 21800 18928 Accepted 100
33 5 0229.4 21800 18840 Accepted 100
34 5 0218.8 25720 22616 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1008 Bytes
Back to Top