Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2952
36924
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 39400 3564 Accepted 100
1 1 0002.5 39400 3692 Accepted 100
2 2 4 5 0002.5 39400 3576 Accepted 100
3 2 4 5 0002.5 39400 3556 Accepted 100
4 2 4 5 0002.5 39400 3636 Accepted 100
5 2 4 5 0002.4 39400 3588 Accepted 100
6 2 4 5 0002.4 39400 3644 Accepted 100
7 2 4 5 0002.4 39400 3560 Accepted 100
8 2 4 5 0002.6 39400 3652 Accepted 100
9 2 4 5 0002.7 39400 3580 Accepted 100
10 2 4 5 0003.0 39400 3516 Accepted 100
11 2 4 5 0003.0 39400 3508 Accepted 100
12 2 4 5 0002.9 39400 3680 Accepted 100
13 2 4 5 0002.9 39400 3748 Accepted 100
14 3 4 5 0002.5 39400 3544 Accepted 100
15 3 4 5 0002.6 39400 3644 Accepted 100
16 3 4 5 0002.8 39400 3668 Accepted 100
17 3 4 5 0003.1 39400 3672 Accepted 100
18 3 4 5 0003.7 39400 3712 Accepted 100
19 3 4 5 0005.2 39672 3984 Accepted 100
20 3 4 5 0011.6 40332 5148 Accepted 100
21 3 4 5 0025.4 41712 8060 Accepted 100
22 3 4 5 0032.2 39400 6960 Accepted 100
23 3 4 5 0035.0 42636 9740 Accepted 100
24 4 5 0004.4 39400 3732 Accepted 100
25 4 5 0004.9 39400 3884 Accepted 100
26 4 5 0006.8 39400 4056 Accepted 100
27 4 5 0010.8 39400 4420 Accepted 100
28 4 5 0020.0 39400 5400 Accepted 100
29 4 5 0026.3 39400 6096 Accepted 100
30 4 5 0034.6 39400 6920 Accepted 100
31 4 5 0035.5 39400 6924 Accepted 100
32 4 5 0035.1 39400 6908 Accepted 100
33 4 5 0035.2 39400 6968 Accepted 100
34 5 0097.3 39400 13236 Accepted 100
35 5 0132.6 39400 16932 Accepted 100
36 5 0166.7 39400 20204 Accepted 100
37 5 0226.6 39400 26944 Accepted 100
38 5 0318.3 39400 36448 Accepted 100
39 5 0325.8 39400 36760 Accepted 100
40 5 0331.3 39400 36752 Accepted 100
41 5 0327.8 39400 36924 Accepted 100
42 5 0326.3 39400 36820 Accepted 100
43 5 0324.8 39400 36856 Accepted 100
Submitter:
lkh
Compiler:
c++17
Code Length:
797 Bytes
Back to Top