Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6667
27104
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 0002.5 6204 3712 Accepted 100
1 1 0002.7 6204 3652 Accepted 100
2 1 0002.7 6204 3688 Accepted 100
3 1 0002.8 6204 3748 Accepted 100
4 1 0002.7 6204 3712 Accepted 100
5 1 0002.7 6204 3644 Accepted 100
6 1 0002.6 6204 3612 Accepted 100
7 2 0391.0 18252 15460 Accepted 100
8 2 0521.6 17736 14964 Accepted 100
9 2 0515.2 29688 27104 Accepted 100
10 2 0521.0 21060 18452 Accepted 100
11 2 0521.4 20168 17380 Accepted 100
12 2 0509.3 23352 20780 Accepted 100
13 2 0472.0 25324 22584 Accepted 100
14 3 0003.3 6204 3764 Accepted 100
15 3 0003.3 6204 3664 Accepted 100
16 3 0003.4 6204 3740 Accepted 100
17 3 0003.2 6204 3696 Accepted 100
18 3 0003.3 6204 3776 Accepted 100
19 3 0003.4 6204 3776 Accepted 100
20 3 0003.0 6204 3736 Accepted 100
21 4 0006.7 6336 3872 Accepted 100
22 4 0006.2 6336 3828 Accepted 100
23 4 0006.3 6204 3784 Accepted 100
24 4 0007.5 6336 3824 Accepted 100
25 4 0006.2 6336 3860 Accepted 100
26 4 0006.5 6336 3812 Accepted 100
27 4 0006.6 6336 3840 Accepted 100
28 5 0507.7 22308 19480 Accepted 100
29 5 0374.6 18788 15912 Accepted 100
30 5 0498.2 19896 17100 Accepted 100
31 5 0326.5 15432 12620 Accepted 100
32 5 0576.7 22032 19120 Accepted 100
33 5 0449.1 21968 19084 Accepted 100
34 5 0395.4 25432 22660 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.02 KB
Back to Top