Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

842
16064
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 0003.8 9260 3124 Accepted 100
1 1 3 5 0003.2 9260 3312 Accepted 100
2 2 5 0003.3 9260 3304 Accepted 100
3 2 3 5 0003.4 9260 3084 Accepted 100
4 2 3 5 0003.2 9260 3044 Accepted 100
5 2 3 5 0003.4 9260 3088 Accepted 100
6 2 3 5 0003.3 9260 3308 Accepted 100
7 2 3 5 0002.8 9260 3196 Accepted 100
8 2 3 5 0003.3 9260 3180 Accepted 100
9 2 5 0004.6 9260 3260 Accepted 100
10 2 5 0004.5 9260 3128 Accepted 100
11 2 5 0003.2 9260 3388 Accepted 100
12 2 5 0003.6 9260 3156 Accepted 100
13 3 5 0002.6 9260 3060 Accepted 100
14 3 5 0041.1 14832 11876 Accepted 100
15 3 5 0023.5 9260 6480 Accepted 100
16 3 5 0022.2 9260 6288 Accepted 100
17 3 5 0022.7 9260 6476 Accepted 100
18 3 5 0020.8 9260 6356 Accepted 100
19 3 5 0023.6 9260 6244 Accepted 100
20 3 5 0021.7 9260 6416 Accepted 100
21 3 5 0021.6 9260 6228 Accepted 100
22 3 4 5 0036.8 14156 11428 Accepted 100
23 3 4 5 0022.5 9260 6248 Accepted 100
24 3 4 5 0017.1 9260 6352 Accepted 100
25 3 4 5 0020.1 9260 6184 Accepted 100
26 4 5 0045.0 19272 16064 Accepted 100
27 4 5 0026.2 9260 6392 Accepted 100
28 4 5 0027.8 9260 6404 Accepted 100
29 4 5 0026.9 9260 6496 Accepted 100
30 4 5 0021.9 9260 6292 Accepted 100
31 4 5 0028.1 9260 6324 Accepted 100
32 4 5 0029.0 11948 9092 Accepted 100
33 4 5 0029.3 11952 9156 Accepted 100
34 5 0046.5 17536 14288 Accepted 100
35 5 0026.1 9260 6604 Accepted 100
36 5 0039.4 9260 6372 Accepted 100
37 5 0032.5 9260 6320 Accepted 100
38 5 0029.8 9260 6420 Accepted 100
39 5 0031.3 9260 6248 Accepted 100
40 5 0030.2 11952 9052 Accepted 100
41 5 0030.0 11944 8908 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.96 KB
Back to Top