Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2264
18956
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 0008.3 15584 8264 Accepted 100
1 1 3 5 0008.0 15584 8260 Accepted 100
2 2 5 0008.0 15584 8368 Accepted 100
3 2 3 5 0008.3 15584 8292 Accepted 100
4 2 3 5 0007.9 15584 8284 Accepted 100
5 2 3 5 0008.0 15584 8272 Accepted 100
6 2 3 5 0008.2 15584 8268 Accepted 100
7 2 3 5 0008.3 15584 8344 Accepted 100
8 2 3 5 0008.3 15584 8132 Accepted 100
9 2 5 0008.0 15584 8284 Accepted 100
10 2 5 0008.4 15584 8400 Accepted 100
11 2 5 0008.1 15584 8276 Accepted 100
12 2 5 0008.1 15584 8284 Accepted 100
13 3 5 0007.8 15584 8240 Accepted 100
14 3 5 0081.4 19404 14132 Accepted 100
15 3 5 0079.6 21120 15572 Accepted 100
16 3 5 0060.6 21372 15784 Accepted 100
17 3 5 0076.1 20460 14984 Accepted 100
18 3 5 0074.6 20460 15112 Accepted 100
19 3 5 0077.2 20460 14988 Accepted 100
20 3 5 0081.1 20460 15188 Accepted 100
21 3 5 0077.1 20460 15128 Accepted 100
22 3 4 5 0075.0 19404 14032 Accepted 100
23 3 4 5 0078.5 21120 15636 Accepted 100
24 3 4 5 0056.6 21372 15788 Accepted 100
25 3 4 5 0074.8 20460 15108 Accepted 100
26 4 5 0087.6 24880 18956 Accepted 100
27 4 5 0076.9 20284 14940 Accepted 100
28 4 5 0078.4 20328 15188 Accepted 100
29 4 5 0080.7 20328 15148 Accepted 100
30 4 5 0076.0 20280 15196 Accepted 100
31 4 5 0075.6 20324 14924 Accepted 100
32 4 5 0077.9 21316 15876 Accepted 100
33 4 5 0075.7 21316 15792 Accepted 100
34 5 0089.8 23144 17316 Accepted 100
35 5 0075.3 20328 15200 Accepted 100
36 5 0077.8 20276 14848 Accepted 100
37 5 0078.7 20328 15180 Accepted 100
38 5 0074.7 20316 15000 Accepted 100
39 5 0076.8 20324 15044 Accepted 100
40 5 0076.8 21408 15996 Accepted 100
41 5 0079.2 21316 15856 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.9 KB
Back to Top