Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2787
28828
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~13 $n \le 3000$ 13 / 13
3 14~23 $n \le 2 \times 10 ^ 5, a_i \ge 0$ 16 / 16
4 2~33 $n \le 2\times 10 ^ 5$ 32 / 32
5 2~43 無其他限制 39 / 39

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.7 29760 3628 Accepted 100
1 1 0002.7 29760 3644 Accepted 100
2 2 4 5 0002.7 29760 3696 Accepted 100
3 2 4 5 0002.5 29760 3556 Accepted 100
4 2 4 5 0002.6 29760 3580 Accepted 100
5 2 4 5 0002.5 29760 3564 Accepted 100
6 2 4 5 0002.6 29760 3572 Accepted 100
7 2 4 5 0002.5 29760 3572 Accepted 100
8 2 4 5 0002.5 29760 3648 Accepted 100
9 2 4 5 0002.5 29760 3576 Accepted 100
10 2 4 5 0002.8 29760 3748 Accepted 100
11 2 4 5 0002.9 29760 3624 Accepted 100
12 2 4 5 0003.0 29760 3612 Accepted 100
13 2 4 5 0002.8 29760 3636 Accepted 100
14 3 4 5 0002.4 29760 3696 Accepted 100
15 3 4 5 0002.5 29760 3656 Accepted 100
16 3 4 5 0002.9 29760 3516 Accepted 100
17 3 4 5 0003.0 29760 3636 Accepted 100
18 3 4 5 0003.4 29760 3752 Accepted 100
19 3 4 5 0004.8 29892 3908 Accepted 100
20 3 4 5 0010.1 30044 4412 Accepted 100
21 3 4 5 0021.4 30576 5836 Accepted 100
22 3 4 5 0028.8 30168 6052 Accepted 100
23 3 4 5 0028.4 30840 6508 Accepted 100
24 4 5 0004.0 29760 3768 Accepted 100
25 4 5 0004.6 29760 3764 Accepted 100
26 4 5 0006.7 29760 3944 Accepted 100
27 4 5 0010.0 29912 4336 Accepted 100
28 4 5 0018.7 29912 4964 Accepted 100
29 4 5 0026.2 30168 5496 Accepted 100
30 4 5 0031.3 30168 5960 Accepted 100
31 4 5 0034.5 30168 6032 Accepted 100
32 4 5 0032.0 30168 6036 Accepted 100
33 4 5 0032.4 30168 6160 Accepted 100
34 5 0095.0 31328 10564 Accepted 100
35 5 0119.9 31328 13428 Accepted 100
36 5 0160.3 31328 16012 Accepted 100
37 5 0223.0 32864 21020 Accepted 100
38 5 0294.1 32864 28520 Accepted 100
39 5 0326.2 32864 28828 Accepted 100
40 5 0307.2 32864 28780 Accepted 100
41 5 0315.8 32864 28676 Accepted 100
42 5 0303.0 32864 28788 Accepted 100
43 5 0297.5 32864 28780 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
796 Bytes
Back to Top