Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

3321
67968
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.5 7076 2896 Accepted 100
1 1 2 3 0001.5 7076 2956 Accepted 100
2 1 2 3 0001.9 7076 3012 Accepted 100
3 1 2 3 0001.4 7076 2936 Accepted 100
4 1 2 3 0002.3 7076 3060 Accepted 100
5 1 2 3 0001.7 7076 3076 Accepted 100
6 1 2 3 0001.3 7076 2948 Accepted 100
7 1 2 3 0002.2 7076 3088 Accepted 100
8 1 2 3 0001.4 7076 3088 Accepted 100
9 1 2 3 0003.4 7076 3024 Accepted 100
10 2 3 0010.0 8148 5344 Accepted 100
11 2 3 0015.5 7208 4160 Accepted 100
12 2 3 0019.3 8544 5116 Accepted 100
13 2 3 0013.1 8036 4752 Accepted 100
14 2 3 0016.2 7612 4476 Accepted 100
15 2 3 0008.5 7608 4592 Accepted 100
16 2 3 0023.1 8280 5232 Accepted 100
17 2 3 0019.3 7208 4048 Accepted 100
18 2 3 0005.3 7208 4196 Accepted 100
19 2 3 0015.0 7472 4372 Accepted 100
20 3 0170.2 9600 6552 Accepted 100
21 3 0298.5 44808 40848 Accepted 100
22 3 0300.4 35156 30752 Accepted 100
23 3 0056.4 13916 10464 Accepted 100
24 3 0041.9 8148 4984 Accepted 100
25 3 0188.6 25820 22220 Accepted 100
26 3 0237.5 17184 13844 Accepted 100
27 3 0034.8 9204 6124 Accepted 100
28 3 0044.5 11744 8556 Accepted 100
29 3 0287.8 37152 32940 Accepted 100
30 3 0529.4 73016 67968 Accepted 100
31 3 0110.5 20336 16288 Accepted 100
32 3 0222.0 30404 25784 Accepted 100
33 3 0159.0 13256 9684 Accepted 100
34 3 0475.7 28592 24880 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.52 KB
Back to Top