Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3012
28456
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.6 6204 3568 Accepted 100
1 1 0003.0 6204 3580 Accepted 100
2 1 0002.7 6204 3456 Accepted 100
3 1 0004.3 6204 3696 Accepted 100
4 1 0002.5 6204 3688 Accepted 100
5 1 0004.3 6204 3632 Accepted 100
6 1 0002.7 6204 3568 Accepted 100
7 2 0173.7 19052 16180 Accepted 100
8 2 0181.8 21608 18156 Accepted 100
9 2 0270.0 31792 28456 Accepted 100
10 2 0196.5 24316 20992 Accepted 100
11 2 0197.1 22600 19588 Accepted 100
12 2 0210.4 25492 22188 Accepted 100
13 2 0245.8 30824 27412 Accepted 100
14 3 0002.9 6204 3712 Accepted 100
15 3 0002.8 6204 3600 Accepted 100
16 3 0003.1 6204 3724 Accepted 100
17 3 0003.0 6204 3592 Accepted 100
18 3 0002.8 6204 3616 Accepted 100
19 3 0002.9 6204 3664 Accepted 100
20 3 0002.9 6204 3728 Accepted 100
21 4 0004.1 6336 3824 Accepted 100
22 4 0004.0 6336 3728 Accepted 100
23 4 0003.8 6336 3700 Accepted 100
24 4 0004.0 6336 3708 Accepted 100
25 4 0003.7 6336 3644 Accepted 100
26 4 0003.6 6336 3708 Accepted 100
27 4 0003.8 6336 3776 Accepted 100
28 5 0248.7 24948 21952 Accepted 100
29 5 0177.4 20892 18052 Accepted 100
30 5 0214.0 22144 19044 Accepted 100
31 5 0128.1 16884 14012 Accepted 100
32 5 0252.9 24672 21656 Accepted 100
33 5 0226.7 24468 21388 Accepted 100
34 5 0219.9 27648 24160 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.49 KB
Back to Top