Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10902
143384
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.9 6208 3472 Accepted 100
1 1 2 3 0001.7 6208 3424 Accepted 100
2 1 2 3 0001.7 6208 3352 Accepted 100
3 1 2 3 0001.7 6208 3456 Accepted 100
4 1 2 3 0001.7 6208 3360 Accepted 100
5 1 2 3 0001.6 6208 3436 Accepted 100
6 1 2 3 0003.6 6208 3452 Accepted 100
7 1 2 3 0001.7 6208 3356 Accepted 100
8 1 2 3 0003.7 6208 3352 Accepted 100
9 1 2 3 0001.8 6208 3432 Accepted 100
10 2 3 0031.3 8328 5696 Accepted 100
11 2 3 0044.3 9176 6552 Accepted 100
12 2 3 0054.9 9656 7000 Accepted 100
13 2 3 0043.0 8900 6256 Accepted 100
14 2 3 0053.9 9452 6932 Accepted 100
15 2 3 0026.8 7796 5144 Accepted 100
16 2 3 0051.3 9576 6956 Accepted 100
17 2 3 0022.6 7604 4996 Accepted 100
18 2 3 0013.1 6912 4284 Accepted 100
19 2 3 0046.2 9216 6572 Accepted 100
20 3 0520.1 43452 40796 Accepted 100
21 3 1032.3 83712 81080 Accepted 100
22 3 1002.9 81676 79068 Accepted 100
23 3 0189.8 20452 17844 Accepted 100
24 3 0131.9 15536 12872 Accepted 100
25 3 0617.6 53092 50464 Accepted 100
26 3 0755.8 61656 59076 Accepted 100
27 3 0082.7 12136 9484 Accepted 100
28 3 0161.1 17188 14580 Accepted 100
29 3 0955.9 78640 76004 Accepted 100
30 3 1862.9 146048 143384 Accepted 100
31 3 0364.8 33564 30956 Accepted 100
32 3 0761.0 61220 58640 Accepted 100
33 3 0513.9 43752 41108 Accepted 100
34 3 1539.0 119984 117320 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
492 Bytes
Back to Top