Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10933
142988
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.6 6204 3420 Accepted 100
1 1 2 3 0003.8 6204 3588 Accepted 100
2 1 2 3 0003.4 6204 3452 Accepted 100
3 1 2 3 0001.7 6204 3416 Accepted 100
4 1 2 3 0003.8 6204 3592 Accepted 100
5 1 2 3 0003.6 6204 3452 Accepted 100
6 1 2 3 0003.4 6204 3436 Accepted 100
7 1 2 3 0003.1 6204 3444 Accepted 100
8 1 2 3 0003.5 6204 3444 Accepted 100
9 1 2 3 0001.5 6204 3432 Accepted 100
10 2 3 0036.6 8448 5240 Accepted 100
11 2 3 0047.3 9296 6292 Accepted 100
12 2 3 0052.0 9780 6568 Accepted 100
13 2 3 0042.2 9024 5984 Accepted 100
14 2 3 0055.2 9572 6484 Accepted 100
15 2 3 0024.8 7916 4696 Accepted 100
16 2 3 0050.9 9700 6500 Accepted 100
17 2 3 0023.7 7724 4732 Accepted 100
18 2 3 0016.1 7036 3924 Accepted 100
19 2 3 0047.0 9332 6324 Accepted 100
20 3 0515.8 43572 40272 Accepted 100
21 3 1022.6 83832 80764 Accepted 100
22 3 1044.4 81796 78620 Accepted 100
23 3 0188.2 20572 17384 Accepted 100
24 3 0130.5 15656 12644 Accepted 100
25 3 0627.5 53212 50156 Accepted 100
26 3 0762.8 61780 58520 Accepted 100
27 3 0082.3 12260 9140 Accepted 100
28 3 0150.6 17308 14132 Accepted 100
29 3 0949.9 78760 75752 Accepted 100
30 3 1820.1 146172 142988 Accepted 100
31 3 0378.9 33684 30528 Accepted 100
32 3 0774.7 61336 58300 Accepted 100
33 3 0515.2 43876 40856 Accepted 100
34 3 1542.0 120104 116888 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
787 Bytes
Back to Top