Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2602
29068
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 0010.4 14036 8324 Accepted 100
1 1 0008.0 14036 8284 Accepted 100
2 1 0008.6 14036 8284 Accepted 100
3 1 0008.0 14036 8248 Accepted 100
4 1 0008.8 14036 8328 Accepted 100
5 1 0008.1 14036 8388 Accepted 100
6 1 0008.5 14036 8320 Accepted 100
7 2 0130.0 21712 17812 Accepted 100
8 2 0145.6 23780 19856 Accepted 100
9 2 0231.1 31308 28660 Accepted 100
10 2 0173.1 26532 23028 Accepted 100
11 2 0155.1 24876 21132 Accepted 100
12 2 0199.5 25564 22304 Accepted 100
13 2 0218.2 31932 29068 Accepted 100
14 3 0008.0 14036 8400 Accepted 100
15 3 0008.2 14036 8172 Accepted 100
16 3 0009.5 14036 8280 Accepted 100
17 3 0008.1 14036 8272 Accepted 100
18 3 0008.1 14036 8180 Accepted 100
19 3 0008.4 14036 8256 Accepted 100
20 3 0008.1 14036 8312 Accepted 100
21 4 0009.2 14036 8368 Accepted 100
22 4 0009.0 14036 8356 Accepted 100
23 4 0008.6 14036 8428 Accepted 100
24 4 0008.9 14036 8324 Accepted 100
25 4 0008.8 14036 8412 Accepted 100
26 4 0008.7 14036 8344 Accepted 100
27 4 0009.0 14036 8324 Accepted 100
28 5 0192.8 21164 18448 Accepted 100
29 5 0143.4 19580 16212 Accepted 100
30 5 0169.3 20108 16744 Accepted 100
31 5 0105.7 18128 14104 Accepted 100
32 5 0201.1 21032 18292 Accepted 100
33 5 0186.3 21032 18248 Accepted 100
34 5 0170.3 26384 23332 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.45 KB
Back to Top