Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4468
21304
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 0006.4 12112 5908 Accepted 100
1 1 3 5 0005.7 12112 5896 Accepted 100
2 2 5 0006.1 12112 6036 Accepted 100
3 2 3 5 0005.6 12112 5916 Accepted 100
4 2 3 5 0005.6 12112 5972 Accepted 100
5 2 3 5 0005.7 12112 5948 Accepted 100
6 2 3 5 0005.5 12112 6040 Accepted 100
7 2 3 5 0005.8 12112 6004 Accepted 100
8 2 3 5 0005.8 12112 6040 Accepted 100
9 2 5 0005.6 12112 6052 Accepted 100
10 2 5 0005.9 12112 6008 Accepted 100
11 2 5 0005.9 12112 6052 Accepted 100
12 2 5 0005.6 12112 5820 Accepted 100
13 3 5 0005.5 12112 6100 Accepted 100
14 3 5 0170.5 23700 19644 Accepted 100
15 3 5 0149.7 15280 11100 Accepted 100
16 3 5 0126.8 15828 11236 Accepted 100
17 3 5 0147.2 15412 11108 Accepted 100
18 3 5 0142.3 15412 11036 Accepted 100
19 3 5 0144.0 15412 11196 Accepted 100
20 3 5 0146.2 15412 10984 Accepted 100
21 3 5 0148.7 15412 11180 Accepted 100
22 3 4 5 0166.5 22684 18572 Accepted 100
23 3 4 5 0147.0 15280 11044 Accepted 100
24 3 4 5 0133.2 15828 11204 Accepted 100
25 3 4 5 0145.9 15412 11248 Accepted 100
26 4 5 0188.7 24540 21304 Accepted 100
27 4 5 0157.2 15280 11352 Accepted 100
28 4 5 0143.7 15280 11256 Accepted 100
29 4 5 0153.9 15280 11180 Accepted 100
30 4 5 0154.0 15280 11140 Accepted 100
31 4 5 0151.6 15280 11316 Accepted 100
32 4 5 0171.3 17860 14156 Accepted 100
33 4 5 0172.9 17860 14356 Accepted 100
34 5 0194.7 24548 21104 Accepted 100
35 5 0173.0 15280 11184 Accepted 100
36 5 0163.2 15280 11308 Accepted 100
37 5 0165.0 15280 11276 Accepted 100
38 5 0150.6 15280 11200 Accepted 100
39 5 0151.0 15280 11304 Accepted 100
40 5 0163.5 17860 14292 Accepted 100
41 5 0164.8 17856 14280 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.33 KB
Back to Top