Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1083
12836
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 0002.8 15748 3788 Accepted 100
1 1 5 0003.1 15748 3676 Accepted 100
2 1 5 0003.0 15748 3660 Accepted 100
3 2 3 4 5 0002.7 17160 3620 Accepted 100
4 2 3 4 5 0002.8 17160 3596 Accepted 100
5 2 3 4 5 0002.7 17160 3564 Accepted 100
6 2 3 4 5 0002.8 17160 3604 Accepted 100
7 2 3 4 5 0002.7 17160 3704 Accepted 100
8 3 4 5 0002.7 17160 3600 Accepted 100
9 3 4 5 0002.9 17160 3564 Accepted 100
10 3 4 5 0002.7 17160 3712 Accepted 100
11 3 4 5 0002.8 17160 3620 Accepted 100
12 3 4 5 0002.9 17160 3720 Accepted 100
13 3 4 5 0002.7 17160 3564 Accepted 100
14 3 4 5 0002.9 17160 3708 Accepted 100
15 3 4 5 0002.9 17160 3584 Accepted 100
16 3 4 5 0002.7 17160 3572 Accepted 100
17 3 4 5 0002.7 17160 3588 Accepted 100
18 4 5 0003.3 17160 3640 Accepted 100
19 4 5 0003.7 17160 3588 Accepted 100
20 4 5 0003.2 17160 3700 Accepted 100
21 4 5 0002.8 17160 3480 Accepted 100
22 4 5 0003.0 17160 3620 Accepted 100
23 4 5 0003.2 17160 3680 Accepted 100
24 4 5 0003.0 17160 3644 Accepted 100
25 4 5 0003.6 17160 3792 Accepted 100
26 4 5 0003.5 17160 3536 Accepted 100
27 5 0111.0 17924 11756 Accepted 100
28 5 0046.2 17556 7100 Accepted 100
29 5 0172.8 17948 8968 Accepted 100
30 5 0042.5 17364 5336 Accepted 100
31 5 0021.0 17484 5980 Accepted 100
32 5 0092.3 17600 7252 Accepted 100
33 5 0157.4 17904 8688 Accepted 100
34 5 0036.3 17500 7160 Accepted 100
35 5 0125.4 17924 12836 Accepted 100
36 5 0031.2 17472 6588 Accepted 100
37 5 0046.0 17832 7036 Accepted 100
38 5 0067.5 17904 8396 Accepted 100
39 5 0053.4 17804 7488 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.08 KB
Back to Top