Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12941
46064
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.0 22632 3528 Accepted 100
1 1 0003.1 22632 3536 Accepted 100
2 1 0003.1 22632 3520 Accepted 100
3 1 0003.1 22632 3584 Accepted 100
4 1 0003.1 22632 3520 Accepted 100
5 1 0003.0 22632 3568 Accepted 100
6 1 0003.0 22632 3652 Accepted 100
7 2 0504.3 37448 23636 Accepted 100
8 2 0652.4 40656 26780 Accepted 100
9 2 0804.5 54300 46064 Accepted 100
10 2 0647.2 45192 31524 Accepted 100
11 2 0716.1 42764 29256 Accepted 100
12 2 0684.7 44300 35712 Accepted 100
13 2 0626.6 54360 46000 Accepted 100
14 3 0003.5 22632 3572 Accepted 100
15 3 0003.5 22632 3620 Accepted 100
16 3 0003.8 22632 3584 Accepted 100
17 3 0003.5 22632 3612 Accepted 100
18 3 0003.8 22632 3588 Accepted 100
19 3 0003.5 22632 3620 Accepted 100
20 3 0003.5 22632 3444 Accepted 100
21 4 0007.0 22764 3808 Accepted 100
22 4 0006.9 22764 3820 Accepted 100
23 4 0006.4 22632 3760 Accepted 100
24 4 0007.3 22764 3796 Accepted 100
25 4 0006.6 22764 3776 Accepted 100
26 4 0006.4 22764 3776 Accepted 100
27 4 0005.6 22788 3936 Accepted 100
28 5 1440.8 39484 31000 Accepted 100
29 5 1007.2 35808 27216 Accepted 100
30 5 1378.9 36964 28408 Accepted 100
31 5 0834.4 32288 18276 Accepted 100
32 5 1724.5 39196 30776 Accepted 100
33 5 1278.4 39132 30480 Accepted 100
34 5 0547.8 46488 38168 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
5.53 KB
Back to Top