Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2490
16220
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 (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0039.5 13044 4708 Accepted 100
1 1 5 0077.9 13540 5644 Accepted 100
2 1 5 0046.4 13288 5100 Accepted 100
3 2 3 4 5 0002.7 12468 3840 Accepted 100
4 2 3 4 5 0002.7 12468 3976 Accepted 100
5 2 3 4 5 0002.7 12468 3908 Accepted 100
6 2 3 4 5 0002.7 12468 3728 Accepted 100
7 2 3 4 5 0002.8 12468 3908 Accepted 100
8 3 4 5 0002.8 12468 3908 Accepted 100
9 3 4 5 0002.8 12468 3724 Accepted 100
10 3 4 5 0002.9 12468 3672 Accepted 100
11 3 4 5 0002.9 12468 4044 Accepted 100
12 3 4 5 0003.0 12468 3856 Accepted 100
13 3 4 5 0002.8 12468 3812 Accepted 100
14 3 4 5 0002.9 12468 3884 Accepted 100
15 3 4 5 0002.8 12468 3988 Accepted 100
16 3 4 5 0002.8 12468 3772 Accepted 100
17 3 4 5 0002.9 12468 4024 Accepted 100
18 4 5 0003.9 12468 3808 Accepted 100
19 4 5 0005.2 12616 4172 Accepted 100
20 4 5 0003.5 12468 3872 Accepted 100
21 4 5 0003.2 12468 4072 Accepted 100
22 4 5 0003.5 12468 4096 Accepted 100
23 4 5 0004.1 12468 3892 Accepted 100
24 4 5 0003.8 12468 3960 Accepted 100
25 4 5 0004.1 12468 4004 Accepted 100
26 4 5 0004.1 12468 3848 Accepted 100
27 5 0366.9 19804 15132 Accepted 100
28 5 0136.1 14392 7148 Accepted 100
29 5 0225.8 15076 8568 Accepted 100
30 5 0060.9 13284 5120 Accepted 100
31 5 0084.1 13456 5648 Accepted 100
32 5 0148.1 14344 7240 Accepted 100
33 5 0200.4 14728 8200 Accepted 100
34 5 0129.5 14168 6944 Accepted 100
35 5 0412.9 20240 16220 Accepted 100
36 5 0105.2 13676 6372 Accepted 100
37 5 0104.0 14168 6940 Accepted 100
38 5 0151.0 14656 8184 Accepted 100
39 5 0123.7 14332 7480 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.19 KB
Back to Top