Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15666
19160
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 0218.9 6220 3552 Accepted 100
1 1 3 5 0002.7 6220 3596 Accepted 100
2 2 5 0218.4 6220 3640 Accepted 100
3 2 3 5 0002.5 6220 3600 Accepted 100
4 2 3 5 0002.7 6220 3560 Accepted 100
5 2 3 5 0002.5 6220 3648 Accepted 100
6 2 3 5 0002.6 6220 3504 Accepted 100
7 2 3 5 0002.6 6220 3644 Accepted 100
8 2 3 5 0002.7 6220 3592 Accepted 100
9 2 5 0211.0 6220 3772 Accepted 100
10 2 5 0223.2 6220 3652 Accepted 100
11 2 5 0216.0 6220 3608 Accepted 100
12 2 5 0215.3 6220 3720 Accepted 100
13 3 5 0002.5 6220 3644 Accepted 100
14 3 5 0092.2 21088 18436 Accepted 100
15 3 5 0082.4 15276 12524 Accepted 100
16 3 5 0063.8 14996 12020 Accepted 100
17 3 5 0078.0 14612 11760 Accepted 100
18 3 5 0077.2 14612 11760 Accepted 100
19 3 5 0076.1 14612 11736 Accepted 100
20 3 5 0078.3 14612 11768 Accepted 100
21 3 5 0077.3 14612 11796 Accepted 100
22 3 4 5 0087.4 20244 17588 Accepted 100
23 3 4 5 0077.8 15272 12508 Accepted 100
24 3 4 5 0059.7 14996 11904 Accepted 100
25 3 4 5 0077.6 14612 11768 Accepted 100
26 4 5 0926.0 21776 19160 Accepted 100
27 4 5 0894.5 14620 11764 Accepted 100
28 4 5 0766.4 14480 11764 Accepted 100
29 4 5 0766.5 14620 11924 Accepted 100
30 4 5 0745.9 14616 11776 Accepted 100
31 4 5 0755.3 14480 11716 Accepted 100
32 4 5 0832.2 16832 14216 Accepted 100
33 4 5 0798.6 16844 14208 Accepted 100
34 5 0942.4 21776 18804 Accepted 100
35 5 0925.4 14620 11768 Accepted 100
36 5 0890.1 14612 11904 Accepted 100
37 5 0946.1 14620 11904 Accepted 100
38 5 0770.4 14616 11792 Accepted 100
39 5 0792.3 14480 11748 Accepted 100
40 5 0826.4 16832 14096 Accepted 100
41 5 0835.7 16832 14184 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.28 KB
Back to Top