Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2517
26496
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.2 14012 8260 Accepted 100
1 1 0007.8 14012 8284 Accepted 100
2 1 0008.1 14012 8324 Accepted 100
3 1 0008.1 14012 8332 Accepted 100
4 1 0007.6 14012 8268 Accepted 100
5 1 0007.9 14012 8284 Accepted 100
6 1 0008.1 14012 8292 Accepted 100
7 2 0119.1 20792 16848 Accepted 100
8 2 0142.7 22472 18672 Accepted 100
9 2 0223.4 29000 26488 Accepted 100
10 2 0160.0 24776 21244 Accepted 100
11 2 0156.7 23452 19816 Accepted 100
12 2 0165.3 24084 20788 Accepted 100
13 2 0205.7 29364 26496 Accepted 100
14 3 0008.1 14012 8344 Accepted 100
15 3 0008.1 14012 8280 Accepted 100
16 3 0008.2 14012 8348 Accepted 100
17 3 0008.1 14012 8300 Accepted 100
18 3 0008.5 14012 8408 Accepted 100
19 3 0008.0 14012 8296 Accepted 100
20 3 0008.1 14012 8348 Accepted 100
21 4 0009.2 14012 8392 Accepted 100
22 4 0009.1 14012 8412 Accepted 100
23 4 0008.7 14012 8348 Accepted 100
24 4 0009.0 14012 8412 Accepted 100
25 4 0008.8 14012 8416 Accepted 100
26 4 0008.7 14012 8400 Accepted 100
27 4 0009.0 14012 8540 Accepted 100
28 5 0195.3 21140 18472 Accepted 100
29 5 0144.3 19556 16192 Accepted 100
30 5 0165.9 20084 16864 Accepted 100
31 5 0104.4 18104 14088 Accepted 100
32 5 0207.6 21008 18372 Accepted 100
33 5 0180.8 21008 18240 Accepted 100
34 5 0170.1 24928 21976 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1016 Bytes
Back to Top