Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9795
60116
Time Limit Exceeded
61

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 無其他限制 0 / 39

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 6052 3616 Accepted 100
1 1 0002.5 6052 3556 Accepted 100
2 2 4 5 0002.6 6052 3652 Accepted 100
3 2 4 5 0002.6 6052 3588 Accepted 100
4 2 4 5 0002.7 6052 3516 Accepted 100
5 2 4 5 0002.6 6052 3660 Accepted 100
6 2 4 5 0002.6 6052 3636 Accepted 100
7 2 4 5 0002.8 6052 3616 Accepted 100
8 2 4 5 0002.8 6052 3720 Accepted 100
9 2 4 5 0003.1 6052 3616 Accepted 100
10 2 4 5 0004.2 6188 3796 Accepted 100
11 2 4 5 0004.1 6188 3640 Accepted 100
12 2 4 5 0004.2 6212 3692 Accepted 100
13 2 4 5 0004.2 6196 3548 Accepted 100
14 3 4 5 0002.5 6052 3572 Accepted 100
15 3 4 5 0002.9 6052 3592 Accepted 100
16 3 4 5 0003.9 6188 3724 Accepted 100
17 3 4 5 0005.1 6220 3704 Accepted 100
18 3 4 5 0006.5 6212 3896 Accepted 100
19 3 4 5 0011.8 6484 3772 Accepted 100
20 3 4 5 0034.2 7568 4784 Accepted 100
21 3 4 5 0082.8 9892 7156 Accepted 100
22 3 4 5 0109.9 11204 8316 Accepted 100
23 3 4 5 0115.0 11456 8700 Accepted 100
24 4 5 0007.9 6208 3708 Accepted 100
25 4 5 0010.7 6284 3824 Accepted 100
26 4 5 0018.5 6836 4028 Accepted 100
27 4 5 0030.1 7256 4608 Accepted 100
28 4 5 0063.8 8932 6184 Accepted 100
29 4 5 0088.1 10228 7248 Accepted 100
30 4 5 0116.7 11876 9000 Accepted 100
31 4 5 0115.5 11456 8372 Accepted 100
32 4 5 0113.7 11068 8364 Accepted 100
33 4 5 0114.1 11200 8340 Accepted 100
34 5 0344.5 23108 19464 Accepted 100
35 5 0458.6 27264 23928 Accepted 100
36 5 0599.0 36496 31372 Accepted 100
37 5 0802.3 44008 40104 Accepted 100
38 5 1087.5 62360 57492 Time Limit Exceeded 0
39 5 1079.2 62868 58316 Time Limit Exceeded 0
40 5 1078.0 58776 54168 Time Limit Exceeded 0
41 5 1070.4 62876 57376 Time Limit Exceeded 0
42 5 1113.0 66964 60116 Time Limit Exceeded 0
43 5 1065.5 66968 58400 Time Limit Exceeded 0
Submitter:
Compiler:
c++17
Code Length:
972 Bytes
Back to Top