Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2652
28840
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 6208 3592 Accepted 100
1 1 0002.6 6208 3472 Accepted 100
2 2 4 5 0002.5 6208 3540 Accepted 100
3 2 4 5 0002.6 6208 3676 Accepted 100
4 2 4 5 0002.5 6208 3596 Accepted 100
5 2 4 5 0002.5 6208 3552 Accepted 100
6 2 4 5 0002.5 6208 3552 Accepted 100
7 2 4 5 0002.5 6208 3596 Accepted 100
8 2 4 5 0002.5 6208 3552 Accepted 100
9 2 4 5 0002.5 6208 3548 Accepted 100
10 2 4 5 0002.8 6208 3564 Accepted 100
11 2 4 5 0002.9 6208 3716 Accepted 100
12 2 4 5 0002.8 6208 3568 Accepted 100
13 2 4 5 0002.8 6208 3452 Accepted 100
14 3 4 5 0002.6 6208 3416 Accepted 100
15 3 4 5 0002.7 6208 3536 Accepted 100
16 3 4 5 0002.8 6208 3564 Accepted 100
17 3 4 5 0003.0 6208 3656 Accepted 100
18 3 4 5 0003.4 6340 3772 Accepted 100
19 3 4 5 0004.8 6512 3588 Accepted 100
20 3 4 5 0009.6 7172 4224 Accepted 100
21 3 4 5 0020.5 8716 5796 Accepted 100
22 3 4 5 0027.9 8844 5936 Accepted 100
23 3 4 5 0032.3 9636 6508 Accepted 100
24 4 5 0003.9 6344 3684 Accepted 100
25 4 5 0004.5 6380 3808 Accepted 100
26 4 5 0006.4 6620 3832 Accepted 100
27 4 5 0009.7 6960 3956 Accepted 100
28 4 5 0018.3 7644 4820 Accepted 100
29 4 5 0024.0 8232 5144 Accepted 100
30 4 5 0031.2 8796 5652 Accepted 100
31 4 5 0032.1 8844 5912 Accepted 100
32 4 5 0032.1 8844 5888 Accepted 100
33 4 5 0031.9 8844 5944 Accepted 100
34 5 0087.9 14052 10528 Accepted 100
35 5 0119.9 16644 13492 Accepted 100
36 5 0148.3 18988 16076 Accepted 100
37 5 0206.3 24788 21184 Accepted 100
38 5 0288.1 31472 28348 Accepted 100
39 5 0293.3 31732 28768 Accepted 100
40 5 0291.8 31732 28724 Accepted 100
41 5 0296.8 31732 28840 Accepted 100
42 5 0289.6 31732 28764 Accepted 100
43 5 0289.9 31732 28732 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.31 KB
Back to Top