Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2880
20936
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.6 21828 3552 Accepted 100
1 1 0002.7 21828 3636 Accepted 100
2 2 4 5 0002.6 21828 3640 Accepted 100
3 2 4 5 0003.3 21828 3572 Accepted 100
4 2 4 5 0002.5 21828 3460 Accepted 100
5 2 4 5 0002.7 21828 3484 Accepted 100
6 2 4 5 0002.6 21828 3556 Accepted 100
7 2 4 5 0002.6 21828 3632 Accepted 100
8 2 4 5 0002.6 21828 3580 Accepted 100
9 2 4 5 0002.7 21828 3604 Accepted 100
10 2 4 5 0003.0 21828 3596 Accepted 100
11 2 4 5 0003.1 21828 3612 Accepted 100
12 2 4 5 0002.9 21828 3660 Accepted 100
13 2 4 5 0003.1 21828 3664 Accepted 100
14 3 4 5 0002.6 21828 3632 Accepted 100
15 3 4 5 0002.6 21828 3604 Accepted 100
16 3 4 5 0003.1 21828 3612 Accepted 100
17 3 4 5 0003.2 21828 3740 Accepted 100
18 3 4 5 0003.5 21828 3628 Accepted 100
19 3 4 5 0005.3 22092 3900 Accepted 100
20 3 4 5 0011.0 22788 4472 Accepted 100
21 3 4 5 0023.7 24392 6776 Accepted 100
22 3 4 5 0029.5 22236 5244 Accepted 100
23 3 4 5 0032.0 25316 8420 Accepted 100
24 4 5 0004.0 21828 3736 Accepted 100
25 4 5 0004.7 21828 3708 Accepted 100
26 4 5 0006.7 21828 3724 Accepted 100
27 4 5 0010.1 21980 4092 Accepted 100
28 4 5 0018.5 21980 4552 Accepted 100
29 4 5 0024.5 22236 4768 Accepted 100
30 4 5 0033.8 22236 5356 Accepted 100
31 4 5 0032.4 22236 5272 Accepted 100
32 4 5 0032.3 22236 5272 Accepted 100
33 4 5 0032.2 22236 5260 Accepted 100
34 5 0099.6 23396 8400 Accepted 100
35 5 0121.1 23396 10324 Accepted 100
36 5 0149.0 23396 12120 Accepted 100
37 5 0231.9 24932 15804 Accepted 100
38 5 0304.0 24932 20816 Accepted 100
39 5 0301.9 24932 20872 Accepted 100
40 5 0312.4 24932 20852 Accepted 100
41 5 0298.3 24932 20724 Accepted 100
42 5 0319.7 24932 20936 Accepted 100
43 5 0387.7 24932 20868 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
705 Bytes
Back to Top