Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

844
5188
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 20$ 20 / 20
2 0~19 $n\leq 1000$ 20 / 20
3 0~39 $n\leq 5\times10^ 5$ 60 / 60

Testdata Results

Testdata no. Subtasks Time (ms) Memory (RSS, KiB) Verdict Score
0 1 2 3 0000.0 1576 Accepted 100
1 1 2 3 0000.0 1496 Accepted 100
2 1 2 3 0000.0 1496 Accepted 100
3 1 2 3 0000.0 1500 Accepted 100
4 1 2 3 0000.0 1560 Accepted 100
5 1 2 3 0000.0 1636 Accepted 100
6 1 2 3 0000.0 1556 Accepted 100
7 1 2 3 0000.0 1472 Accepted 100
8 1 2 3 0000.0 1552 Accepted 100
9 1 2 3 0000.0 1472 Accepted 100
10 2 3 0000.0 1564 Accepted 100
11 2 3 0000.0 1552 Accepted 100
12 2 3 0000.0 1552 Accepted 100
13 2 3 0000.0 1608 Accepted 100
14 2 3 0000.0 1560 Accepted 100
15 2 3 0000.0 1472 Accepted 100
16 2 3 0000.0 1488 Accepted 100
17 2 3 0000.0 1564 Accepted 100
18 2 3 0000.0 1644 Accepted 100
19 2 3 0000.0 1644 Accepted 100
20 3 0080.0 4596 Accepted 100
21 3 0076.0 4604 Accepted 100
22 3 0008.0 1980 Accepted 100
23 3 0024.0 2720 Accepted 100
24 3 0028.0 2760 Accepted 100
25 3 0000.0 1564 Accepted 100
26 3 0116.0 5136 Accepted 100
27 3 0000.0 1556 Accepted 100
28 3 0048.0 3452 Accepted 100
29 3 0060.0 3600 Accepted 100
30 3 0036.0 2684 Accepted 100
31 3 0016.0 2236 Accepted 100
32 3 0068.0 4824 Accepted 100
33 3 0104.0 5188 Accepted 100
34 3 0040.0 2900 Accepted 100
35 3 0020.0 2184 Accepted 100
36 3 0036.0 2876 Accepted 100
37 3 0064.0 3948 Accepted 100
38 3 0016.0 2076 Accepted 100
39 3 0004.0 1616 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
358 Bytes
Back to Top