Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10907
143028
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $1 \le n\le 1000$ 11 / 11
2 0~19 $1 \le n\le 5\times10 ^ 5$ 42 / 42
3 0~34 $1 \le n\le 5\times10 ^ 7$ 47 / 47

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 0001.6 6204 3448 Accepted 100
1 1 2 3 0002.4 6204 3412 Accepted 100
2 1 2 3 0003.9 6204 3404 Accepted 100
3 1 2 3 0001.5 6204 3404 Accepted 100
4 1 2 3 0001.6 6204 3360 Accepted 100
5 1 2 3 0001.6 6204 3404 Accepted 100
6 1 2 3 0003.3 6204 3436 Accepted 100
7 1 2 3 0001.4 6204 3404 Accepted 100
8 1 2 3 0003.6 6204 3432 Accepted 100
9 1 2 3 0002.9 6204 3444 Accepted 100
10 2 3 0045.8 8448 5288 Accepted 100
11 2 3 0066.3 9296 6300 Accepted 100
12 2 3 0058.6 9780 6564 Accepted 100
13 2 3 0039.3 9024 5972 Accepted 100
14 2 3 0048.5 9572 6544 Accepted 100
15 2 3 0026.0 7916 4660 Accepted 100
16 2 3 0048.4 9700 6584 Accepted 100
17 2 3 0026.2 7724 4716 Accepted 100
18 2 3 0017.3 7036 3916 Accepted 100
19 2 3 0058.9 9332 6352 Accepted 100
20 3 0528.2 43572 40296 Accepted 100
21 3 1017.5 83832 80772 Accepted 100
22 3 0994.1 81796 78676 Accepted 100
23 3 0198.5 20572 17332 Accepted 100
24 3 0136.5 15656 12648 Accepted 100
25 3 0632.7 53212 50120 Accepted 100
26 3 0768.5 61780 58584 Accepted 100
27 3 0084.1 12260 9124 Accepted 100
28 3 0152.8 17308 14220 Accepted 100
29 3 0948.5 78760 75724 Accepted 100
30 3 1826.9 146172 143028 Accepted 100
31 3 0366.3 33684 30504 Accepted 100
32 3 0733.4 61336 58320 Accepted 100
33 3 0523.8 43876 40820 Accepted 100
34 3 1536.0 120104 116820 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
798 Bytes
Back to Top