Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

739
3664
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 6056 3588 Accepted 100
1 1 3 4 0002.6 6056 3476 Accepted 100
2 2 4 0002.9 6056 3600 Accepted 100
3 2 4 0006.1 6056 3500 Accepted 100
4 2 4 0009.0 6056 3540 Accepted 100
5 2 4 0036.5 6056 3612 Accepted 100
6 3 4 0002.8 6056 3448 Accepted 100
7 3 4 0002.7 6056 3548 Accepted 100
8 3 4 0002.8 6056 3596 Accepted 100
9 3 4 0002.7 6056 3596 Accepted 100
10 3 4 0002.8 6056 3572 Accepted 100
11 3 4 0002.8 6056 3544 Accepted 100
12 3 4 0002.8 6056 3492 Accepted 100
13 3 4 0002.9 6056 3500 Accepted 100
14 3 4 0002.9 6056 3484 Accepted 100
15 3 4 0003.0 6056 3512 Accepted 100
16 4 0003.2 6056 3660 Accepted 100
17 4 0008.5 6056 3540 Accepted 100
18 4 0037.3 6056 3660 Accepted 100
19 4 0039.0 6056 3576 Accepted 100
20 4 0040.2 6056 3612 Accepted 100
21 4 0043.8 6056 3484 Accepted 100
22 4 0026.3 6056 3544 Accepted 100
23 4 0023.6 6056 3604 Accepted 100
24 4 0049.9 6056 3488 Accepted 100
25 4 0027.7 6056 3664 Accepted 100
26 4 0028.7 6056 3572 Accepted 100
27 4 0046.9 6056 3504 Accepted 100
28 4 0025.4 6056 3604 Accepted 100
29 4 0028.4 6056 3548 Accepted 100
30 4 0037.9 6056 3568 Accepted 100
31 4 0038.9 6056 3568 Accepted 100
32 4 0036.1 6056 3408 Accepted 100
33 4 0050.1 6056 3572 Accepted 100
34 4 0029.8 6056 3508 Accepted 100
35 4 0030.0 6056 3604 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.1 KB
Back to Top