Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1288
38156
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 0004.4 60876 4216 Accepted 100
1 1 5 0005.4 61056 4384 Accepted 100
2 1 5 0004.7 61056 4172 Accepted 100
3 2 3 4 5 0002.6 60744 3716 Accepted 100
4 2 3 4 5 0002.5 60744 3684 Accepted 100
5 2 3 4 5 0002.5 60744 3688 Accepted 100
6 2 3 4 5 0002.6 60744 3788 Accepted 100
7 2 3 4 5 0002.6 60744 3608 Accepted 100
8 3 4 5 0002.6 60744 3704 Accepted 100
9 3 4 5 0002.7 60744 3744 Accepted 100
10 3 4 5 0002.7 60744 3756 Accepted 100
11 3 4 5 0002.7 60744 3824 Accepted 100
12 3 4 5 0002.7 60744 3848 Accepted 100
13 3 4 5 0002.7 60744 3540 Accepted 100
14 3 4 5 0002.7 60744 3716 Accepted 100
15 3 4 5 0002.6 60744 3664 Accepted 100
16 3 4 5 0002.7 60744 3752 Accepted 100
17 3 4 5 0002.7 60744 3680 Accepted 100
18 4 5 0003.5 60744 3904 Accepted 100
19 4 5 0004.5 60744 3956 Accepted 100
20 4 5 0003.4 60744 3864 Accepted 100
21 4 5 0003.0 60744 3760 Accepted 100
22 4 5 0003.1 60744 3680 Accepted 100
23 4 5 0003.6 60744 4036 Accepted 100
24 4 5 0003.5 60744 3768 Accepted 100
25 4 5 0004.0 60744 3908 Accepted 100
26 4 5 0003.9 60744 3940 Accepted 100
27 5 0091.1 60744 33888 Accepted 100
28 5 0044.1 60744 16176 Accepted 100
29 5 0205.6 61056 23088 Accepted 100
30 5 0051.7 60876 10020 Accepted 100
31 5 0033.3 60876 11908 Accepted 100
32 5 0121.5 60876 17292 Accepted 100
33 5 0172.3 61300 22000 Accepted 100
34 5 0055.4 60876 16780 Accepted 100
35 5 0103.4 60744 38156 Accepted 100
36 5 0045.9 60744 14308 Accepted 100
37 5 0076.4 61056 16180 Accepted 100
38 5 0110.3 61300 21204 Accepted 100
39 5 0090.4 61056 18180 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.77 KB
Back to Top