Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2837
20984
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 6200 3632 Accepted 100
1 1 0002.5 6200 3584 Accepted 100
2 2 4 5 0002.7 6200 3636 Accepted 100
3 2 4 5 0002.5 6200 3520 Accepted 100
4 2 4 5 0002.6 6200 3688 Accepted 100
5 2 4 5 0002.6 6200 3624 Accepted 100
6 2 4 5 0002.5 6200 3524 Accepted 100
7 2 4 5 0002.5 6200 3560 Accepted 100
8 2 4 5 0002.5 6200 3568 Accepted 100
9 2 4 5 0002.8 6200 3568 Accepted 100
10 2 4 5 0003.0 6200 3632 Accepted 100
11 2 4 5 0002.9 6200 3660 Accepted 100
12 2 4 5 0002.9 6200 3592 Accepted 100
13 2 4 5 0002.9 6200 3540 Accepted 100
14 3 4 5 0002.5 6200 3624 Accepted 100
15 3 4 5 0002.5 6200 3580 Accepted 100
16 3 4 5 0002.8 6200 3616 Accepted 100
17 3 4 5 0003.0 6200 3600 Accepted 100
18 3 4 5 0003.4 6200 3628 Accepted 100
19 3 4 5 0005.2 6480 3856 Accepted 100
20 3 4 5 0011.2 7476 4620 Accepted 100
21 3 4 5 0024.3 9776 6688 Accepted 100
22 3 4 5 0029.5 8048 5312 Accepted 100
23 3 4 5 0033.2 11132 8288 Accepted 100
24 4 5 0004.1 6200 3668 Accepted 100
25 4 5 0004.6 6200 3720 Accepted 100
26 4 5 0006.6 6288 3888 Accepted 100
27 4 5 0010.4 6624 4132 Accepted 100
28 4 5 0019.3 7080 4608 Accepted 100
29 4 5 0025.7 7636 4752 Accepted 100
30 4 5 0031.9 8020 5344 Accepted 100
31 4 5 0033.4 8048 5236 Accepted 100
32 4 5 0032.9 8052 5308 Accepted 100
33 4 5 0033.6 8044 5296 Accepted 100
34 5 0092.6 12168 8612 Accepted 100
35 5 0124.4 13896 10472 Accepted 100
36 5 0156.8 15460 12132 Accepted 100
37 5 0219.5 20180 16148 Accepted 100
38 5 0316.1 24636 20724 Accepted 100
39 5 0316.7 24808 20872 Accepted 100
40 5 0309.4 24808 20976 Accepted 100
41 5 0314.7 24808 20880 Accepted 100
42 5 0311.0 24808 20984 Accepted 100
43 5 0318.4 24808 20976 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.39 KB
Back to Top