Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4097
62504
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.5 6208 3508 Accepted 100
1 1 0002.5 6208 3572 Accepted 100
2 2 4 5 0002.7 6208 3580 Accepted 100
3 2 4 5 0002.6 6208 3516 Accepted 100
4 2 4 5 0002.5 6208 3532 Accepted 100
5 2 4 5 0002.5 6208 3512 Accepted 100
6 2 4 5 0002.5 6208 3660 Accepted 100
7 2 4 5 0002.6 6208 3532 Accepted 100
8 2 4 5 0002.6 6208 3540 Accepted 100
9 2 4 5 0002.8 6208 3648 Accepted 100
10 2 4 5 0003.2 6372 3680 Accepted 100
11 2 4 5 0003.2 6208 3628 Accepted 100
12 2 4 5 0003.2 6208 3616 Accepted 100
13 2 4 5 0003.1 6372 3548 Accepted 100
14 3 4 5 0002.6 6208 3436 Accepted 100
15 3 4 5 0002.7 6208 3540 Accepted 100
16 3 4 5 0003.0 6372 3700 Accepted 100
17 3 4 5 0003.2 6208 3588 Accepted 100
18 3 4 5 0003.6 6208 3672 Accepted 100
19 3 4 5 0005.6 7156 4040 Accepted 100
20 3 4 5 0011.9 8456 4836 Accepted 100
21 3 4 5 0028.0 14216 9160 Accepted 100
22 3 4 5 0039.6 8716 6044 Accepted 100
23 3 4 5 0035.9 14872 9844 Accepted 100
24 4 5 0004.5 6648 3788 Accepted 100
25 4 5 0005.1 6692 3892 Accepted 100
26 4 5 0008.5 7268 4184 Accepted 100
27 4 5 0011.8 8376 4856 Accepted 100
28 4 5 0023.4 10724 6748 Accepted 100
29 4 5 0039.6 8496 5484 Accepted 100
30 4 5 0037.9 14820 9824 Accepted 100
31 4 5 0051.6 9108 6160 Accepted 100
32 4 5 0039.2 14868 9928 Accepted 100
33 4 5 0040.0 14868 9864 Accepted 100
34 5 0157.1 20592 15112 Accepted 100
35 5 0149.0 41608 30296 Accepted 100
36 5 0269.7 25524 20364 Accepted 100
37 5 0372.5 28768 24236 Accepted 100
38 5 0360.2 81528 62100 Accepted 100
39 5 0508.8 32632 29568 Accepted 100
40 5 0481.7 32112 28968 Accepted 100
41 5 0520.1 81788 62404 Accepted 100
42 5 0461.7 81792 62436 Accepted 100
43 5 0379.8 81792 62504 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
783 Bytes
Back to Top