Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11792
143120
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.7 6204 3532 Accepted 100
1 1 2 3 0001.9 6204 3536 Accepted 100
2 1 2 3 0001.9 6204 3520 Accepted 100
3 1 2 3 0001.8 6204 3480 Accepted 100
4 1 2 3 0001.9 6204 3568 Accepted 100
5 1 2 3 0001.6 6204 3456 Accepted 100
6 1 2 3 0001.7 6204 3476 Accepted 100
7 1 2 3 0001.6 6204 3524 Accepted 100
8 1 2 3 0001.9 6204 3460 Accepted 100
9 1 2 3 0001.5 6204 3520 Accepted 100
10 2 3 0040.1 8448 5216 Accepted 100
11 2 3 0046.7 9296 6356 Accepted 100
12 2 3 0053.0 9780 6536 Accepted 100
13 2 3 0044.7 9024 6012 Accepted 100
14 2 3 0054.0 9572 6632 Accepted 100
15 2 3 0033.6 7916 4744 Accepted 100
16 2 3 0051.4 9700 6628 Accepted 100
17 2 3 0024.8 7724 4716 Accepted 100
18 2 3 0013.8 7036 3996 Accepted 100
19 2 3 0045.9 9332 6360 Accepted 100
20 3 0565.2 43572 40356 Accepted 100
21 3 1072.6 83832 80724 Accepted 100
22 3 1135.1 81796 78660 Accepted 100
23 3 0201.2 20572 17456 Accepted 100
24 3 0136.1 15656 12668 Accepted 100
25 3 0677.7 53212 50188 Accepted 100
26 3 0808.1 61780 58632 Accepted 100
27 3 0087.5 12260 9196 Accepted 100
28 3 0158.2 17308 14196 Accepted 100
29 3 1011.3 78760 75736 Accepted 100
30 3 2098.3 146172 143120 Accepted 100
31 3 0394.9 33684 30564 Accepted 100
32 3 0788.8 61336 58284 Accepted 100
33 3 0565.0 43876 40860 Accepted 100
34 3 1666.4 120104 116892 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
570 Bytes
Back to Top