Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7768
17572
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 0300.5 6220 3648 Accepted 100
1 1 3 5 0002.8 6220 3592 Accepted 100
2 2 5 0300.4 6220 3708 Accepted 100
3 2 3 5 0002.6 6220 3636 Accepted 100
4 2 3 5 0002.7 6220 3592 Accepted 100
5 2 3 5 0002.6 6220 3604 Accepted 100
6 2 3 5 0002.6 6220 3644 Accepted 100
7 2 3 5 0002.6 6220 3504 Accepted 100
8 2 3 5 0002.6 6220 3604 Accepted 100
9 2 5 0300.5 6220 3788 Accepted 100
10 2 5 0300.5 6220 3664 Accepted 100
11 2 5 0300.5 6220 3652 Accepted 100
12 2 5 0300.5 6220 3576 Accepted 100
13 3 5 0002.6 6220 3564 Accepted 100
14 3 5 0090.1 19524 16872 Accepted 100
15 3 5 0079.9 13708 10624 Accepted 100
16 3 5 0056.5 13428 10428 Accepted 100
17 3 5 0082.5 13044 10032 Accepted 100
18 3 5 0074.5 13044 10076 Accepted 100
19 3 5 0073.3 13044 10184 Accepted 100
20 3 5 0076.4 13044 10032 Accepted 100
21 3 5 0075.4 13044 10124 Accepted 100
22 3 4 5 0090.9 18672 15924 Accepted 100
23 3 4 5 0079.3 13704 10944 Accepted 100
24 3 4 5 0055.6 13428 10500 Accepted 100
25 3 4 5 0071.4 13044 10040 Accepted 100
26 4 5 0311.9 20208 17288 Accepted 100
27 4 5 0310.4 13052 10284 Accepted 100
28 4 5 0323.2 12912 10108 Accepted 100
29 4 5 0307.8 13052 10432 Accepted 100
30 4 5 0307.4 13048 10444 Accepted 100
31 4 5 0321.9 12912 10080 Accepted 100
32 4 5 0323.9 15264 12716 Accepted 100
33 4 5 0321.8 15272 12548 Accepted 100
34 5 0307.8 20208 17572 Accepted 100
35 5 0313.0 13052 10416 Accepted 100
36 5 0321.9 13044 10324 Accepted 100
37 5 0307.5 13052 10244 Accepted 100
38 5 0320.8 13048 10432 Accepted 100
39 5 0310.3 12912 10020 Accepted 100
40 5 0317.5 15264 12704 Accepted 100
41 5 0311.5 15264 12560 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.3 KB
Back to Top