Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2595
29976
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.3 9340 5924 Accepted 100
1 1 3 5 0006.8 9340 5984 Accepted 100
2 2 5 0005.8 9340 5928 Accepted 100
3 2 3 5 0005.8 9340 5916 Accepted 100
4 2 3 5 0006.0 9340 5876 Accepted 100
5 2 3 5 0006.0 9340 5992 Accepted 100
6 2 3 5 0005.6 9340 5932 Accepted 100
7 2 3 5 0005.7 9340 5920 Accepted 100
8 2 3 5 0005.6 9340 5884 Accepted 100
9 2 5 0005.7 9340 5864 Accepted 100
10 2 5 0005.5 9340 5956 Accepted 100
11 2 5 0005.9 9340 6000 Accepted 100
12 2 5 0005.3 9340 6004 Accepted 100
13 3 5 0005.7 9340 5748 Accepted 100
14 3 5 0088.4 21588 18844 Accepted 100
15 3 5 0067.5 13160 10284 Accepted 100
16 3 5 0055.0 13676 10492 Accepted 100
17 3 5 0071.1 13292 10368 Accepted 100
18 3 5 0070.1 13292 10360 Accepted 100
19 3 5 0074.3 13292 10328 Accepted 100
20 3 5 0070.7 13292 10352 Accepted 100
21 3 5 0074.4 13292 10424 Accepted 100
22 3 4 5 0091.5 20568 17676 Accepted 100
23 3 4 5 0070.3 13160 10252 Accepted 100
24 3 4 5 0052.5 13676 10552 Accepted 100
25 3 4 5 0072.8 13292 10300 Accepted 100
26 4 5 0138.6 32748 29976 Accepted 100
27 4 5 0098.4 14236 11276 Accepted 100
28 4 5 0103.7 14236 11268 Accepted 100
29 4 5 0100.4 14236 11080 Accepted 100
30 4 5 0106.1 14236 11272 Accepted 100
31 4 5 0096.8 14236 11108 Accepted 100
32 4 5 0100.9 19684 16760 Accepted 100
33 4 5 0105.5 19656 16732 Accepted 100
34 5 0138.0 32748 29772 Accepted 100
35 5 0095.2 14232 11172 Accepted 100
36 5 0083.5 14236 11280 Accepted 100
37 5 0092.3 14236 11256 Accepted 100
38 5 0090.8 14236 11228 Accepted 100
39 5 0095.2 14236 11336 Accepted 100
40 5 0104.2 19660 16620 Accepted 100
41 5 0104.5 19708 16592 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3 KB
Back to Top