Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11326
143044
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.5 6188 3532 Accepted 100
1 1 2 3 0002.1 6188 3444 Accepted 100
2 1 2 3 0001.7 6188 3492 Accepted 100
3 1 2 3 0001.8 6188 3396 Accepted 100
4 1 2 3 0001.7 6188 3552 Accepted 100
5 1 2 3 0001.7 6188 3492 Accepted 100
6 1 2 3 0001.8 6188 3544 Accepted 100
7 1 2 3 0001.9 6188 3512 Accepted 100
8 1 2 3 0001.6 6188 3548 Accepted 100
9 1 2 3 0001.7 6188 3524 Accepted 100
10 2 3 0032.1 8432 5316 Accepted 100
11 2 3 0046.3 9280 6376 Accepted 100
12 2 3 0050.2 9764 6596 Accepted 100
13 2 3 0042.5 9008 6024 Accepted 100
14 2 3 0054.1 9556 6644 Accepted 100
15 2 3 0026.1 7900 4788 Accepted 100
16 2 3 0052.4 9684 6560 Accepted 100
17 2 3 0023.8 7708 4788 Accepted 100
18 2 3 0013.7 7020 3984 Accepted 100
19 2 3 0046.8 9316 6360 Accepted 100
20 3 0544.4 43556 40356 Accepted 100
21 3 1055.6 83816 80740 Accepted 100
22 3 1045.2 81780 78672 Accepted 100
23 3 0206.5 20556 17372 Accepted 100
24 3 0147.9 15640 12740 Accepted 100
25 3 0648.0 53196 50228 Accepted 100
26 3 0799.5 61764 58644 Accepted 100
27 3 0084.9 12244 9256 Accepted 100
28 3 0152.2 17292 14296 Accepted 100
29 3 1002.7 78744 75840 Accepted 100
30 3 1924.4 146156 143044 Accepted 100
31 3 0367.1 33668 30668 Accepted 100
32 3 0796.1 61320 58284 Accepted 100
33 3 0553.4 43860 40948 Accepted 100
34 3 1591.6 120088 116976 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
708 Bytes
Back to Top