Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4067
21728
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 0009.0 15792 8348 Accepted 100
1 1 3 5 0008.4 15792 8348 Accepted 100
2 2 5 0008.4 15792 8380 Accepted 100
3 2 3 5 0008.6 15792 8352 Accepted 100
4 2 3 5 0008.5 15792 8344 Accepted 100
5 2 3 5 0008.8 15792 8120 Accepted 100
6 2 3 5 0008.8 15792 8252 Accepted 100
7 2 3 5 0008.5 15792 8284 Accepted 100
8 2 3 5 0008.6 15792 8424 Accepted 100
9 2 5 0009.4 15792 8324 Accepted 100
10 2 5 0009.5 15792 8420 Accepted 100
11 2 5 0009.2 15792 8396 Accepted 100
12 2 5 0008.9 15792 8488 Accepted 100
13 3 5 0008.5 15792 8344 Accepted 100
14 3 5 0100.7 25824 20644 Accepted 100
15 3 5 0074.3 18828 13392 Accepted 100
16 3 5 0059.5 19344 13536 Accepted 100
17 3 5 0075.4 18960 13408 Accepted 100
18 3 5 0081.4 18960 13408 Accepted 100
19 3 5 0078.1 18960 13400 Accepted 100
20 3 5 0081.2 18960 13600 Accepted 100
21 3 5 0077.2 18960 13404 Accepted 100
22 3 4 5 0105.5 24976 19792 Accepted 100
23 3 4 5 0077.6 18828 13292 Accepted 100
24 3 4 5 0059.8 19344 13440 Accepted 100
25 3 4 5 0076.2 18960 13636 Accepted 100
26 4 5 0187.9 26512 21700 Accepted 100
27 4 5 0188.6 18960 14096 Accepted 100
28 4 5 0193.9 18960 14044 Accepted 100
29 4 5 0181.6 18960 13944 Accepted 100
30 4 5 0180.4 18960 14044 Accepted 100
31 4 5 0180.4 18960 13928 Accepted 100
32 4 5 0186.7 21184 16320 Accepted 100
33 4 5 0191.9 21180 16324 Accepted 100
34 5 0205.3 26512 21728 Accepted 100
35 5 0186.2 18960 14032 Accepted 100
36 5 0178.9 18960 14080 Accepted 100
37 5 0183.0 18960 14000 Accepted 100
38 5 0191.7 18960 14020 Accepted 100
39 5 0186.3 18960 13992 Accepted 100
40 5 0187.0 21184 16452 Accepted 100
41 5 0187.7 21184 16384 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.76 KB
Back to Top