Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

571
3652
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~5 輸入滿足 $d = 3$ 或 $d = 4$ 12 / 12
3 0~1, 6~15 輸入滿足 $2 \le d \le 6$ 且 1$ \le n \le 100$ 24 / 24
4 0~35 無額外限制 64 / 64

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 3 4 0002.5 6224 3576 Accepted 100
1 1 3 4 0002.6 6224 3584 Accepted 100
2 2 4 0002.8 6224 3596 Accepted 100
3 2 4 0004.3 6224 3652 Accepted 100
4 2 4 0005.2 6224 3608 Accepted 100
5 2 4 0019.4 6224 3616 Accepted 100
6 3 4 0002.6 6224 3608 Accepted 100
7 3 4 0002.6 6224 3504 Accepted 100
8 3 4 0002.6 6224 3612 Accepted 100
9 3 4 0002.6 6224 3596 Accepted 100
10 3 4 0002.6 6224 3416 Accepted 100
11 3 4 0002.7 6224 3612 Accepted 100
12 3 4 0002.7 6224 3584 Accepted 100
13 3 4 0002.6 6224 3592 Accepted 100
14 3 4 0002.8 6224 3596 Accepted 100
15 3 4 0002.9 6224 3612 Accepted 100
16 4 0002.8 6224 3588 Accepted 100
17 4 0004.8 6224 3596 Accepted 100
18 4 0019.6 6224 3608 Accepted 100
19 4 0023.3 6224 3612 Accepted 100
20 4 0023.4 6224 3592 Accepted 100
21 4 0029.9 6224 3652 Accepted 100
22 4 0022.5 6224 3576 Accepted 100
23 4 0019.4 6224 3588 Accepted 100
24 4 0039.9 6224 3648 Accepted 100
25 4 0025.5 6224 3508 Accepted 100
26 4 0026.8 6224 3616 Accepted 100
27 4 0035.1 6224 3652 Accepted 100
28 4 0023.6 6224 3616 Accepted 100
29 4 0025.7 6224 3508 Accepted 100
30 4 0016.7 6224 3648 Accepted 100
31 4 0041.8 6224 3596 Accepted 100
32 4 0037.7 6224 3648 Accepted 100
33 4 0037.4 6224 3612 Accepted 100
34 4 0024.9 6224 3612 Accepted 100
35 4 0026.8 6224 3516 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.06 KB
Back to Top