Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11445
143024
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 0002.2 6188 3480 Accepted 100
1 1 2 3 0001.9 6188 3416 Accepted 100
2 1 2 3 0002.1 6188 3544 Accepted 100
3 1 2 3 0001.9 6188 3500 Accepted 100
4 1 2 3 0001.9 6188 3580 Accepted 100
5 1 2 3 0001.5 6188 3544 Accepted 100
6 1 2 3 0001.9 6188 3492 Accepted 100
7 1 2 3 0001.6 6188 3540 Accepted 100
8 1 2 3 0001.9 6188 3540 Accepted 100
9 1 2 3 0001.6 6188 3676 Accepted 100
10 2 3 0032.5 8432 5316 Accepted 100
11 2 3 0046.1 9280 6324 Accepted 100
12 2 3 0050.0 9764 6608 Accepted 100
13 2 3 0043.1 9008 6112 Accepted 100
14 2 3 0052.8 9556 6544 Accepted 100
15 2 3 0025.1 7900 4784 Accepted 100
16 2 3 0054.1 9684 6564 Accepted 100
17 2 3 0025.2 7708 4708 Accepted 100
18 2 3 0013.8 7020 3928 Accepted 100
19 2 3 0048.6 9316 6312 Accepted 100
20 3 0581.8 43556 40388 Accepted 100
21 3 1079.6 83816 80772 Accepted 100
22 3 1059.2 81780 78636 Accepted 100
23 3 0197.2 20556 17444 Accepted 100
24 3 0140.9 15640 12616 Accepted 100
25 3 0636.6 53196 50200 Accepted 100
26 3 0801.4 61764 58656 Accepted 100
27 3 0084.5 12244 9288 Accepted 100
28 3 0155.7 17292 14296 Accepted 100
29 3 1008.2 78744 75788 Accepted 100
30 3 1948.5 146156 143024 Accepted 100
31 3 0374.9 33668 30564 Accepted 100
32 3 0818.3 61320 58360 Accepted 100
33 3 0546.7 43860 40940 Accepted 100
34 3 1601.7 120088 116908 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
708 Bytes
Back to Top