Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

144
3724
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.5 6348 3536 Accepted 100
1 2 3 4 5 0003.3 6348 3536 Accepted 100
2 2 3 4 5 0003.9 6348 3436 Accepted 100
3 2 3 4 5 0004.9 6348 3444 Accepted 100
4 2 3 4 5 0005.3 6348 3516 Accepted 100
5 2 3 4 5 0003.6 6348 3600 Accepted 100
6 2 3 4 5 0004.8 6348 3448 Accepted 100
7 2 3 4 5 0004.6 6348 3588 Accepted 100
8 2 3 4 5 0003.6 6348 3448 Accepted 100
9 2 3 4 5 0004.7 6348 3436 Accepted 100
10 2 3 4 5 0003.5 6348 3532 Accepted 100
11 3 4 5 0003.2 6348 3580 Accepted 100
12 3 4 5 0005.2 6348 3500 Accepted 100
13 3 4 5 0005.2 6348 3436 Accepted 100
14 3 4 5 0005.3 6348 3536 Accepted 100
15 3 4 5 0005.4 6348 3580 Accepted 100
16 3 4 5 0004.5 6348 3536 Accepted 100
17 4 5 0004.7 6348 3584 Accepted 100
18 4 5 0004.7 6348 3560 Accepted 100
19 5 0004.3 6348 3364 Accepted 100
20 5 0005.5 6348 3532 Accepted 100
21 5 0003.9 6348 3564 Accepted 100
22 5 0005.2 6348 3560 Accepted 100
23 5 0005.5 6348 3356 Accepted 100
24 5 0003.9 6348 3448 Accepted 100
25 5 0005.7 6348 3600 Accepted 100
26 5 0005.7 6348 3580 Accepted 100
27 5 0007.3 6484 3724 Accepted 100
28 5 0013.2 6664 3660 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
252 Bytes
Back to Top