Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

49
4116
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.1 6508 3716 Accepted 100
1 2 3 4 5 0001.5 6508 3848 Accepted 100
2 2 3 4 5 0003.2 6508 3728 Accepted 100
3 2 3 4 5 0001.5 6508 3724 Accepted 100
4 2 3 4 5 0002.0 6508 3908 Accepted 100
5 2 3 4 5 0001.6 6508 3880 Accepted 100
6 2 3 4 5 0003.0 6508 3844 Accepted 100
7 2 3 4 5 0001.3 6508 3904 Accepted 100
8 2 3 4 5 0001.3 6508 3844 Accepted 100
9 2 3 4 5 0001.3 6508 3652 Accepted 100
10 2 3 4 5 0001.6 6508 3724 Accepted 100
11 3 4 5 0001.4 6508 3864 Accepted 100
12 3 4 5 0001.4 6508 3876 Accepted 100
13 3 4 5 0001.4 6508 3732 Accepted 100
14 3 4 5 0001.4 6508 3900 Accepted 100
15 3 4 5 0001.3 6508 3724 Accepted 100
16 3 4 5 0002.9 6508 3880 Accepted 100
17 4 5 0001.4 6508 3880 Accepted 100
18 4 5 0001.4 6508 3900 Accepted 100
19 5 0001.3 6508 3716 Accepted 100
20 5 0001.7 6508 3804 Accepted 100
21 5 0001.4 6508 3656 Accepted 100
22 5 0001.3 6508 3732 Accepted 100
23 5 0001.4 6508 4004 Accepted 100
24 5 0001.4 6508 4004 Accepted 100
25 5 0001.6 6508 3872 Accepted 100
26 5 0001.7 6508 3876 Accepted 100
27 5 0001.6 6660 4116 Accepted 100
28 5 0001.7 6892 3936 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
319 Bytes
Back to Top