Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

128
3708
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0 範例測資 1 / 1
2 0~10 $n \le 10 ^ 9$ 22 / 22
3 0~16 $n \le 5 \cdot 10 ^ {18}$ 40 / 40
4 0~18 $n \le 10 ^ {19}$ 9 / 9
5 0~28 無其他限制 28 / 28

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 0003.9 6348 3548 Accepted 100
1 2 3 4 5 0003.6 6348 3544 Accepted 100
2 2 3 4 5 0003.9 6348 3584 Accepted 100
3 2 3 4 5 0003.7 6348 3496 Accepted 100
4 2 3 4 5 0003.5 6348 3556 Accepted 100
5 2 3 4 5 0003.6 6348 3436 Accepted 100
6 2 3 4 5 0003.7 6348 3356 Accepted 100
7 2 3 4 5 0004.5 6348 3612 Accepted 100
8 2 3 4 5 0003.7 6348 3360 Accepted 100
9 2 3 4 5 0003.9 6348 3508 Accepted 100
10 2 3 4 5 0003.6 6348 3536 Accepted 100
11 3 4 5 0004.0 6348 3544 Accepted 100
12 3 4 5 0003.6 6348 3612 Accepted 100
13 3 4 5 0004.1 6348 3560 Accepted 100
14 3 4 5 0004.1 6348 3448 Accepted 100
15 3 4 5 0004.0 6348 3612 Accepted 100
16 3 4 5 0003.6 6348 3584 Accepted 100
17 4 5 0003.6 6348 3584 Accepted 100
18 4 5 0003.8 6348 3552 Accepted 100
19 5 0005.3 6348 3444 Accepted 100
20 5 0004.3 6348 3448 Accepted 100
21 5 0003.8 6348 3564 Accepted 100
22 5 0004.0 6348 3584 Accepted 100
23 5 0003.6 6348 3560 Accepted 100
24 5 0004.4 6348 3360 Accepted 100
25 5 0006.2 6348 3624 Accepted 100
26 5 0004.1 6348 3600 Accepted 100
27 5 0008.1 6484 3708 Accepted 100
28 5 0011.7 6664 3576 Accepted 100
Submitter:
AaW
Compiler:
c++17
Code Length:
316 Bytes
Back to Top