Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

127
3684
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.8 6508 3572 Accepted 100
1 2 3 4 5 0003.6 6508 3616 Accepted 100
2 2 3 4 5 0005.0 6508 3456 Accepted 100
3 2 3 4 5 0003.5 6508 3556 Accepted 100
4 2 3 4 5 0003.8 6508 3576 Accepted 100
5 2 3 4 5 0003.6 6508 3548 Accepted 100
6 2 3 4 5 0004.8 6508 3576 Accepted 100
7 2 3 4 5 0003.6 6508 3368 Accepted 100
8 2 3 4 5 0004.5 6508 3560 Accepted 100
9 2 3 4 5 0003.9 6508 3576 Accepted 100
10 2 3 4 5 0003.7 6508 3380 Accepted 100
11 3 4 5 0004.6 6508 3628 Accepted 100
12 3 4 5 0004.0 6508 3632 Accepted 100
13 3 4 5 0004.3 6508 3604 Accepted 100
14 3 4 5 0003.6 6508 3552 Accepted 100
15 3 4 5 0006.3 6508 3600 Accepted 100
16 3 4 5 0005.4 6508 3576 Accepted 100
17 4 5 0005.5 6508 3372 Accepted 100
18 4 5 0003.5 6508 3568 Accepted 100
19 5 0004.1 6508 3632 Accepted 100
20 5 0004.9 6508 3452 Accepted 100
21 5 0004.7 6508 3596 Accepted 100
22 5 0005.1 6508 3564 Accepted 100
23 5 0004.5 6508 3628 Accepted 100
24 5 0004.5 6508 3548 Accepted 100
25 5 0003.7 6508 3492 Accepted 100
26 5 0004.1 6508 3572 Accepted 100
27 5 0005.6 6660 3660 Accepted 100
28 5 0004.7 6892 3684 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
319 Bytes
Back to Top