Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

58
4004
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 0001.5 6508 3908 Accepted 100
1 2 3 4 5 0001.4 6508 3652 Accepted 100
2 2 3 4 5 0001.9 6508 3652 Accepted 100
3 2 3 4 5 0001.7 6508 3848 Accepted 100
4 2 3 4 5 0003.0 6508 3720 Accepted 100
5 2 3 4 5 0002.8 6508 3808 Accepted 100
6 2 3 4 5 0001.7 6508 3900 Accepted 100
7 2 3 4 5 0001.3 6508 3904 Accepted 100
8 2 3 4 5 0001.7 6508 3884 Accepted 100
9 2 3 4 5 0001.3 6508 3844 Accepted 100
10 2 3 4 5 0001.3 6508 3860 Accepted 100
11 3 4 5 0001.6 6508 3876 Accepted 100
12 3 4 5 0001.3 6508 3948 Accepted 100
13 3 4 5 0001.3 6508 3728 Accepted 100
14 3 4 5 0001.6 6508 3648 Accepted 100
15 3 4 5 0001.3 6508 3904 Accepted 100
16 3 4 5 0001.7 6508 3828 Accepted 100
17 4 5 0002.1 6508 3880 Accepted 100
18 4 5 0001.6 6508 3720 Accepted 100
19 5 0001.4 6508 3852 Accepted 100
20 5 0002.9 6508 3644 Accepted 100
21 5 0003.3 6508 3948 Accepted 100
22 5 0003.2 6508 4004 Accepted 100
23 5 0003.0 6508 3856 Accepted 100
24 5 0001.3 6508 3704 Accepted 100
25 5 0001.5 6508 3668 Accepted 100
26 5 0003.2 6508 3860 Accepted 100
27 5 0002.8 6660 3832 Accepted 100
28 5 0003.4 6892 3776 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
319 Bytes
Back to Top