Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3144
26356
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.3 6216 3532 Accepted 100
1 1 0002.8 6216 3476 Accepted 100
2 1 0003.1 6216 3540 Accepted 100
3 1 0003.1 6216 3536 Accepted 100
4 1 0003.0 6216 3512 Accepted 100
5 1 0003.4 6216 3540 Accepted 100
6 1 0003.0 6216 3528 Accepted 100
7 2 0151.0 18156 14984 Accepted 100
8 2 0170.3 19848 16504 Accepted 100
9 2 0308.5 30392 26356 Accepted 100
10 2 0205.9 22488 19512 Accepted 100
11 2 0208.5 21316 18292 Accepted 100
12 2 0222.7 24136 19848 Accepted 100
13 2 0277.5 29600 25468 Accepted 100
14 3 0004.2 6216 3684 Accepted 100
15 3 0003.2 6216 3560 Accepted 100
16 3 0003.1 6216 3572 Accepted 100
17 3 0003.3 6216 3512 Accepted 100
18 3 0003.3 6216 3572 Accepted 100
19 3 0003.2 6216 3476 Accepted 100
20 3 0003.3 6216 3568 Accepted 100
21 4 0004.2 6348 3716 Accepted 100
22 4 0004.3 6356 3692 Accepted 100
23 4 0003.8 6364 3624 Accepted 100
24 4 0004.1 6348 3716 Accepted 100
25 4 0004.6 6356 3684 Accepted 100
26 4 0004.0 6368 3700 Accepted 100
27 4 0004.4 6352 3772 Accepted 100
28 5 0256.8 23748 19756 Accepted 100
29 5 0194.7 21220 16416 Accepted 100
30 5 0221.3 21840 17460 Accepted 100
31 5 0120.7 16044 12648 Accepted 100
32 5 0261.4 23516 19492 Accepted 100
33 5 0245.3 23408 19412 Accepted 100
34 5 0224.7 26136 22024 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.67 KB
Back to Top