Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10891
143448
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 0003.6 6208 3440 Accepted 100
1 1 2 3 0001.8 6208 3428 Accepted 100
2 1 2 3 0003.1 6208 3456 Accepted 100
3 1 2 3 0001.6 6208 3480 Accepted 100
4 1 2 3 0001.7 6208 3460 Accepted 100
5 1 2 3 0001.4 6208 3472 Accepted 100
6 1 2 3 0003.5 6208 3388 Accepted 100
7 1 2 3 0001.7 6208 3476 Accepted 100
8 1 2 3 0001.8 6208 3352 Accepted 100
9 1 2 3 0003.2 6208 3476 Accepted 100
10 2 3 0030.5 8332 5752 Accepted 100
11 2 3 0047.1 9180 6552 Accepted 100
12 2 3 0052.1 9660 7052 Accepted 100
13 2 3 0051.0 8904 6256 Accepted 100
14 2 3 0053.5 9452 6808 Accepted 100
15 2 3 0025.0 7796 5204 Accepted 100
16 2 3 0053.4 9580 6944 Accepted 100
17 2 3 0022.9 7604 4928 Accepted 100
18 2 3 0015.5 6912 4172 Accepted 100
19 2 3 0044.1 9208 6588 Accepted 100
20 3 0522.9 43448 40816 Accepted 100
21 3 1030.4 83712 81012 Accepted 100
22 3 1001.2 81676 79012 Accepted 100
23 3 0190.3 20452 17820 Accepted 100
24 3 0137.4 15540 12932 Accepted 100
25 3 0632.2 53096 50468 Accepted 100
26 3 0759.1 61660 59004 Accepted 100
27 3 0081.2 12140 9432 Accepted 100
28 3 0150.6 17188 14568 Accepted 100
29 3 0946.9 78636 76000 Accepted 100
30 3 1833.2 146056 143448 Accepted 100
31 3 0362.9 33564 30920 Accepted 100
32 3 0734.6 61216 58592 Accepted 100
33 3 0542.2 43756 41120 Accepted 100
34 3 1547.6 119984 117328 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
536 Bytes
Back to Top