Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2788
36480
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 3584 Accepted 100
1 1 0002.4 6200 3556 Accepted 100
2 2 4 5 0002.6 6200 3704 Accepted 100
3 2 4 5 0002.4 6200 3588 Accepted 100
4 2 4 5 0002.4 6200 3632 Accepted 100
5 2 4 5 0002.5 6200 3624 Accepted 100
6 2 4 5 0002.4 6200 3524 Accepted 100
7 2 4 5 0002.4 6200 3620 Accepted 100
8 2 4 5 0002.4 6200 3596 Accepted 100
9 2 4 5 0002.6 6200 3644 Accepted 100
10 2 4 5 0002.8 6200 3604 Accepted 100
11 2 4 5 0002.8 6200 3676 Accepted 100
12 2 4 5 0002.8 6200 3532 Accepted 100
13 2 4 5 0002.8 6200 3608 Accepted 100
14 3 4 5 0002.4 6200 3584 Accepted 100
15 3 4 5 0002.5 6200 3636 Accepted 100
16 3 4 5 0002.8 6200 3704 Accepted 100
17 3 4 5 0003.1 6200 3636 Accepted 100
18 3 4 5 0003.4 6360 3684 Accepted 100
19 3 4 5 0005.1 6752 3864 Accepted 100
20 3 4 5 0011.1 8048 5072 Accepted 100
21 3 4 5 0024.2 11024 7936 Accepted 100
22 3 4 5 0030.0 9616 6808 Accepted 100
23 3 4 5 0032.7 12820 9900 Accepted 100
24 4 5 0004.0 6336 3652 Accepted 100
25 4 5 0004.7 6372 3756 Accepted 100
26 4 5 0006.6 6632 3784 Accepted 100
27 4 5 0010.4 7152 4024 Accepted 100
28 4 5 0020.3 8064 5176 Accepted 100
29 4 5 0025.3 8800 5668 Accepted 100
30 4 5 0032.7 9552 6484 Accepted 100
31 4 5 0033.5 9616 6768 Accepted 100
32 4 5 0033.4 9616 6620 Accepted 100
33 4 5 0033.0 9616 6688 Accepted 100
34 5 0089.2 16304 12964 Accepted 100
35 5 0126.0 19760 16604 Accepted 100
36 5 0154.8 22888 19788 Accepted 100
37 5 0218.5 30280 26596 Accepted 100
38 5 0306.8 39192 36124 Accepted 100
39 5 0305.2 39536 36288 Accepted 100
40 5 0304.2 39536 36364 Accepted 100
41 5 0308.8 39536 36392 Accepted 100
42 5 0306.9 39536 36480 Accepted 100
43 5 0310.1 39536 36404 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
808 Bytes
Back to Top