Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14138
259884
Memory Limit Exceeded
0

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~6 $N,Q \leq 20$ 0 / 10
2 7~13 對於每個城市最多只有兩條道路連接該城市和其他城市 0 / 21
3 14~20 $N,Q \leq 300$ 0 / 10
4 21~27 $N,Q \leq 2000$ 0 / 16
5 28~34 無其他限制 0 / 43

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0366.3 264192 259016 Memory Limit Exceeded 0
1 1 0367.4 264192 259008 Memory Limit Exceeded 0
2 1 0369.4 264192 259116 Memory Limit Exceeded 0
3 1 0369.4 264192 258968 Memory Limit Exceeded 0
4 1 0373.8 264192 258956 Memory Limit Exceeded 0
5 1 0375.5 264192 259000 Memory Limit Exceeded 0
6 1 0376.2 264192 259060 Memory Limit Exceeded 0
7 2 0421.2 264192 259408 Memory Limit Exceeded 0
8 2 0422.7 264192 259632 Memory Limit Exceeded 0
9 2 0479.1 264192 259860 Memory Limit Exceeded 0
10 2 0436.5 264192 259620 Memory Limit Exceeded 0
11 2 0427.3 264192 259576 Memory Limit Exceeded 0
12 2 0426.1 264192 259632 Memory Limit Exceeded 0
13 2 0469.5 264192 259884 Memory Limit Exceeded 0
14 3 0372.4 264192 259024 Memory Limit Exceeded 0
15 3 0376.8 264192 259072 Memory Limit Exceeded 0
16 3 0377.2 264192 259128 Memory Limit Exceeded 0
17 3 0376.0 264192 259068 Memory Limit Exceeded 0
18 3 0378.5 264192 259064 Memory Limit Exceeded 0
19 3 0374.9 264192 258980 Memory Limit Exceeded 0
20 3 0370.6 264192 259132 Memory Limit Exceeded 0
21 4 0373.6 264192 259200 Memory Limit Exceeded 0
22 4 0369.8 264192 259088 Memory Limit Exceeded 0
23 4 0375.4 264192 259060 Memory Limit Exceeded 0
24 4 0370.4 264192 259172 Memory Limit Exceeded 0
25 4 0376.9 264192 259188 Memory Limit Exceeded 0
26 4 0372.0 264192 259040 Memory Limit Exceeded 0
27 4 0377.3 264192 259168 Memory Limit Exceeded 0
28 5 0472.6 264192 259840 Memory Limit Exceeded 0
29 5 0453.6 264192 259656 Memory Limit Exceeded 0
30 5 0460.9 264192 259652 Memory Limit Exceeded 0
31 5 0429.9 264192 259404 Memory Limit Exceeded 0
32 5 0468.1 264192 259752 Memory Limit Exceeded 0
33 5 0471.5 264192 259792 Memory Limit Exceeded 0
34 5 0459.7 264192 259824 Memory Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
1.03 KB
Back to Top