Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2662
30696
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.1 14208 8264 Accepted 100
1 1 0008.0 14208 8256 Accepted 100
2 1 0008.0 14208 8268 Accepted 100
3 1 0007.8 14208 8328 Accepted 100
4 1 0007.8 14208 8332 Accepted 100
5 1 0007.8 14208 8260 Accepted 100
6 1 0007.9 14208 8164 Accepted 100
7 2 0125.3 23100 19184 Accepted 100
8 2 0152.3 25036 20996 Accepted 100
9 2 0235.3 33156 30696 Accepted 100
10 2 0172.3 27740 24092 Accepted 100
11 2 0166.1 26288 22628 Accepted 100
12 2 0193.0 27316 23760 Accepted 100
13 2 0220.2 33128 30380 Accepted 100
14 3 0008.1 14208 8340 Accepted 100
15 3 0008.2 14208 8304 Accepted 100
16 3 0008.4 14208 8356 Accepted 100
17 3 0008.2 14208 8272 Accepted 100
18 3 0008.1 14208 8292 Accepted 100
19 3 0008.3 14208 8356 Accepted 100
20 3 0008.1 14208 8284 Accepted 100
21 4 0009.4 14340 8456 Accepted 100
22 4 0009.0 14208 8372 Accepted 100
23 4 0008.7 14208 8336 Accepted 100
24 4 0008.9 14208 8432 Accepted 100
25 4 0008.8 14208 8444 Accepted 100
26 4 0008.7 14208 8336 Accepted 100
27 4 0009.1 14208 8352 Accepted 100
28 5 0203.8 23976 21336 Accepted 100
29 5 0147.2 21864 18428 Accepted 100
30 5 0174.6 22524 19324 Accepted 100
31 5 0111.3 19752 15700 Accepted 100
32 5 0213.2 23844 21056 Accepted 100
33 5 0192.1 23712 20960 Accepted 100
34 5 0180.1 28680 25700 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
980 Bytes
Back to Top