Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3386
33404
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~12 $n \le 100$ 17 / 17
3 1, 3~8, 13~25 $m = n − 1$ 23 / 23
4 22~33 $a_i \ge 0$ 34 / 34
5 0~41 無額外限制 26 / 26

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0005.8 10188 6076 Accepted 100
1 1 3 5 0006.4 10188 6156 Accepted 100
2 2 5 0006.2 10188 6160 Accepted 100
3 2 3 5 0005.8 10188 6136 Accepted 100
4 2 3 5 0006.1 10188 6216 Accepted 100
5 2 3 5 0006.0 10188 6288 Accepted 100
6 2 3 5 0006.4 10188 6184 Accepted 100
7 2 3 5 0006.0 10188 6156 Accepted 100
8 2 3 5 0006.0 10188 6164 Accepted 100
9 2 5 0006.0 10188 6188 Accepted 100
10 2 5 0006.1 10188 6172 Accepted 100
11 2 5 0005.9 10188 6132 Accepted 100
12 2 5 0006.2 10188 6192 Accepted 100
13 3 5 0005.7 10188 6108 Accepted 100
14 3 5 0112.3 24500 21520 Accepted 100
15 3 5 0099.1 13224 10068 Accepted 100
16 3 5 0063.3 15408 11016 Accepted 100
17 3 5 0084.3 13356 10236 Accepted 100
18 3 5 0088.9 13356 10296 Accepted 100
19 3 5 0088.5 13356 10196 Accepted 100
20 3 5 0081.4 13356 10192 Accepted 100
21 3 5 0079.9 13356 10168 Accepted 100
22 3 4 5 0101.2 23148 20064 Accepted 100
23 3 4 5 0088.0 13224 10064 Accepted 100
24 3 4 5 0065.5 15408 11004 Accepted 100
25 3 4 5 0082.0 13356 10196 Accepted 100
26 4 5 0289.3 37624 33204 Accepted 100
27 4 5 0127.8 13356 10616 Accepted 100
28 4 5 0114.9 13356 10612 Accepted 100
29 4 5 0108.6 13356 10612 Accepted 100
30 4 5 0117.3 13356 10616 Accepted 100
31 4 5 0109.1 13356 10724 Accepted 100
32 4 5 0140.0 20288 17312 Accepted 100
33 4 5 0150.4 20284 17076 Accepted 100
34 5 0289.2 37624 33404 Accepted 100
35 5 0119.4 13356 10636 Accepted 100
36 5 0092.7 13356 10612 Accepted 100
37 5 0111.8 13356 10664 Accepted 100
38 5 0104.7 13356 10640 Accepted 100
39 5 0106.3 13356 10560 Accepted 100
40 5 0140.4 20284 17156 Accepted 100
41 5 0144.8 20280 17220 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3 KB
Back to Top