Back to Submissions List

Problem

Total Time (ms)

Max Memory (KiB)

Verdict

Score

244
15252
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 $N = 1$ 4 / 4
2 3~7 $1\leq N \leq \sum |S_i| \leq 20$ 6 / 6
3 3~17 $1\leq N \leq\sum |S_i| \leq 300$ 15 / 15
4 3~26 $1\leq N \leq\sum |S_i| \leq 3500$ 25 / 25
5 0~39 $1\leq N \leq\sum |S_i| \leq 2 \times 10^ 5$ 50 / 50

Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 5 0 3360 Accepted 100
1 1 5 0 3460 Accepted 100
2 1 5 0 3488 Accepted 100
3 2 3 4 5 0 3416 Accepted 100
4 2 3 4 5 0 3316 Accepted 100
5 2 3 4 5 0 3472 Accepted 100
6 2 3 4 5 0 3356 Accepted 100
7 2 3 4 5 0 3500 Accepted 100
8 3 4 5 0 3424 Accepted 100
9 3 4 5 0 3608 Accepted 100
10 3 4 5 0 3480 Accepted 100
11 3 4 5 0 3608 Accepted 100
12 3 4 5 0 3404 Accepted 100
13 3 4 5 0 3400 Accepted 100
14 3 4 5 0 3532 Accepted 100
15 3 4 5 0 3484 Accepted 100
16 3 4 5 0 3444 Accepted 100
17 3 4 5 0 3340 Accepted 100
18 4 5 0 3624 Accepted 100
19 4 5 0 3760 Accepted 100
20 4 5 0 3536 Accepted 100
21 4 5 0 3420 Accepted 100
22 4 5 0 3548 Accepted 100
23 4 5 0 3440 Accepted 100
24 4 5 0 3692 Accepted 100
25 4 5 0 3584 Accepted 100
26 4 5 0 3596 Accepted 100
27 5 44 13756 Accepted 100
28 5 16 7672 Accepted 100
29 5 20 10064 Accepted 100
30 5 8 5660 Accepted 100
31 5 12 6332 Accepted 100
32 5 16 8128 Accepted 100
33 5 20 9468 Accepted 100
34 5 16 7764 Accepted 100
35 5 52 15252 Accepted 100
36 5 16 7288 Accepted 100
37 5 8 5992 Accepted 100
38 5 8 7156 Accepted 100
39 5 8 6500 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.86 KB
Back to Top