Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2408
23948
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 0007.9 14020 8276 Accepted 100
1 1 0007.7 14020 8244 Accepted 100
2 1 0007.9 14020 8240 Accepted 100
3 1 0007.9 14020 8232 Accepted 100
4 1 0007.8 14020 8156 Accepted 100
5 1 0008.0 14020 8240 Accepted 100
6 1 0007.6 14020 8308 Accepted 100
7 2 0111.2 19896 15860 Accepted 100
8 2 0127.7 21188 17192 Accepted 100
9 2 0207.9 26712 23948 Accepted 100
10 2 0155.8 23052 19508 Accepted 100
11 2 0147.5 22060 18396 Accepted 100
12 2 0161.2 22628 19264 Accepted 100
13 2 0186.2 26824 23916 Accepted 100
14 3 0008.1 14020 8296 Accepted 100
15 3 0008.1 14020 8160 Accepted 100
16 3 0008.3 14020 8292 Accepted 100
17 3 0008.0 14020 8100 Accepted 100
18 3 0008.0 14020 8204 Accepted 100
19 3 0008.2 14020 8256 Accepted 100
20 3 0008.0 14020 8324 Accepted 100
21 4 0009.2 14020 8368 Accepted 100
22 4 0009.1 14020 8320 Accepted 100
23 4 0008.7 14020 8292 Accepted 100
24 4 0009.2 14020 8444 Accepted 100
25 4 0008.9 14020 8232 Accepted 100
26 4 0008.8 14020 8316 Accepted 100
27 4 0009.0 14020 8360 Accepted 100
28 5 0189.2 21148 18504 Accepted 100
29 5 0136.6 19564 16092 Accepted 100
30 5 0167.1 20092 16856 Accepted 100
31 5 0100.2 18112 13952 Accepted 100
32 5 0195.3 21016 18224 Accepted 100
33 5 0179.9 21016 18164 Accepted 100
34 5 0167.4 23496 20588 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1022 Bytes
Back to Top