Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3774
18648
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.8 11292 5764 Accepted 100
1 1 3 5 0006.9 11292 5864 Accepted 100
2 2 5 0007.9 11292 5868 Accepted 100
3 2 3 5 0006.8 11292 5804 Accepted 100
4 2 3 5 0006.8 11292 5960 Accepted 100
5 2 3 5 0006.4 11292 5876 Accepted 100
6 2 3 5 0006.7 11292 5888 Accepted 100
7 2 3 5 0006.6 11292 5816 Accepted 100
8 2 3 5 0008.2 11292 5928 Accepted 100
9 2 5 0008.3 11292 5980 Accepted 100
10 2 5 0007.8 11292 5928 Accepted 100
11 2 5 0007.4 11292 5888 Accepted 100
12 2 5 0008.1 11292 5780 Accepted 100
13 3 5 0008.5 11292 5856 Accepted 100
14 3 5 0160.3 21328 18648 Accepted 100
15 3 5 0110.6 14592 11928 Accepted 100
16 3 5 0075.9 15372 12132 Accepted 100
17 3 5 0134.2 14724 12052 Accepted 100
18 3 5 0120.7 14724 12056 Accepted 100
19 3 5 0129.7 14724 12144 Accepted 100
20 3 5 0131.2 14724 12084 Accepted 100
21 3 5 0119.1 14724 12040 Accepted 100
22 3 4 5 0145.8 20484 17952 Accepted 100
23 3 4 5 0116.8 14592 11980 Accepted 100
24 3 4 5 0154.0 15372 12344 Accepted 100
25 3 4 5 0106.8 14724 12096 Accepted 100
26 4 5 0201.6 18220 14520 Accepted 100
27 4 5 0119.6 14592 11964 Accepted 100
28 4 5 0112.8 14592 12016 Accepted 100
29 4 5 0119.0 14592 12012 Accepted 100
30 4 5 0119.4 14592 11920 Accepted 100
31 4 5 0119.3 14592 12044 Accepted 100
32 4 5 0133.9 15624 12656 Accepted 100
33 4 5 0148.3 15636 12664 Accepted 100
34 5 0161.2 18220 14444 Accepted 100
35 5 0204.3 14592 12012 Accepted 100
36 5 0127.5 14592 11960 Accepted 100
37 5 0126.1 14592 12004 Accepted 100
38 5 0126.1 14592 12036 Accepted 100
39 5 0117.9 14592 12012 Accepted 100
40 5 0111.6 15640 12624 Accepted 100
41 5 0117.7 15624 12620 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.34 KB
Back to Top