Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3137
17756
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 0003.2 6060 3684 Accepted 100
1 1 0003.2 6060 3868 Accepted 100
2 1 0003.6 6060 3700 Accepted 100
3 1 0003.1 6060 3868 Accepted 100
4 1 0002.8 6060 3800 Accepted 100
5 1 0003.1 6060 3812 Accepted 100
6 1 0002.9 6060 3864 Accepted 100
7 2 0148.8 13488 10692 Accepted 100
8 2 0167.6 14256 11500 Accepted 100
9 2 0273.1 19956 17492 Accepted 100
10 2 0191.6 15484 12796 Accepted 100
11 2 0198.4 15392 12876 Accepted 100
12 2 0226.9 16400 13816 Accepted 100
13 2 0236.8 18484 15744 Accepted 100
14 3 0003.2 6060 3876 Accepted 100
15 3 0003.2 6060 3864 Accepted 100
16 3 0003.3 6060 3900 Accepted 100
17 3 0003.9 6060 3884 Accepted 100
18 3 0003.5 6060 3764 Accepted 100
19 3 0003.0 6060 3900 Accepted 100
20 3 0003.0 6060 3844 Accepted 100
21 4 0004.3 6192 3948 Accepted 100
22 4 0004.4 6192 3732 Accepted 100
23 4 0004.5 6192 4012 Accepted 100
24 4 0005.3 6192 3976 Accepted 100
25 4 0004.3 6192 3864 Accepted 100
26 4 0003.8 6192 3952 Accepted 100
27 4 0004.5 6192 3796 Accepted 100
28 5 0270.6 20668 17756 Accepted 100
29 5 0205.6 17464 14576 Accepted 100
30 5 0236.7 18480 15572 Accepted 100
31 5 0133.3 14432 11672 Accepted 100
32 5 0265.9 20416 17496 Accepted 100
33 5 0254.4 20356 17596 Accepted 100
34 5 0251.2 18420 15928 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.6 KB
Back to Top