Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4899
44000
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 0011.5 28876 7876 Accepted 100
1 1 0011.6 28876 7716 Accepted 100
2 1 0012.4 28876 7808 Accepted 100
3 1 0010.0 28876 7820 Accepted 100
4 1 0010.5 28876 7740 Accepted 100
5 1 0010.2 28876 7768 Accepted 100
6 1 0010.3 28876 7812 Accepted 100
7 2 0247.8 37380 25784 Accepted 100
8 2 0307.9 39496 28680 Accepted 100
9 2 0458.8 47664 44000 Accepted 100
10 2 0292.1 42388 33176 Accepted 100
11 2 0318.3 40720 31164 Accepted 100
12 2 0343.8 41516 33540 Accepted 100
13 2 0415.1 48120 42708 Accepted 100
14 3 0010.5 28876 7712 Accepted 100
15 3 0010.2 28876 7860 Accepted 100
16 3 0012.2 28876 7720 Accepted 100
17 3 0010.2 28876 7692 Accepted 100
18 3 0012.5 28876 7812 Accepted 100
19 3 0010.2 28876 7712 Accepted 100
20 3 0010.7 28876 7740 Accepted 100
21 4 0011.4 28876 8136 Accepted 100
22 4 0011.2 28876 8192 Accepted 100
23 4 0010.8 28876 7784 Accepted 100
24 4 0011.7 28876 7744 Accepted 100
25 4 0011.1 28876 8120 Accepted 100
26 4 0010.7 28876 7796 Accepted 100
27 4 0014.6 28876 8092 Accepted 100
28 5 0377.2 37500 33668 Accepted 100
29 5 0283.2 35596 28004 Accepted 100
30 5 0331.7 36220 29848 Accepted 100
31 5 0191.2 33824 22724 Accepted 100
32 5 0374.3 37344 33204 Accepted 100
33 5 0348.3 37336 33012 Accepted 100
34 5 0374.6 42552 36996 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.97 KB
Back to Top