Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

894
3676
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 0003.7 6216 3556 Accepted 100
1 1 3 4 0004.2 6216 3560 Accepted 100
2 2 4 0004.5 6216 3608 Accepted 100
3 2 4 0016.6 6216 3620 Accepted 100
4 2 4 0011.3 6216 3580 Accepted 100
5 2 4 0047.6 6216 3584 Accepted 100
6 3 4 0005.5 6216 3608 Accepted 100
7 3 4 0003.7 6216 3536 Accepted 100
8 3 4 0003.8 6216 3588 Accepted 100
9 3 4 0004.8 6216 3560 Accepted 100
10 3 4 0004.2 6216 3516 Accepted 100
11 3 4 0004.9 6216 3608 Accepted 100
12 3 4 0003.6 6216 3624 Accepted 100
13 3 4 0004.8 6216 3588 Accepted 100
14 3 4 0005.7 6216 3588 Accepted 100
15 3 4 0004.5 6216 3552 Accepted 100
16 4 0004.3 6216 3524 Accepted 100
17 4 0014.1 6216 3584 Accepted 100
18 4 0041.8 6216 3628 Accepted 100
19 4 0043.7 6216 3484 Accepted 100
20 4 0043.7 6216 3556 Accepted 100
21 4 0048.3 6216 3624 Accepted 100
22 4 0030.4 6216 3676 Accepted 100
23 4 0027.1 6216 3632 Accepted 100
24 4 0057.0 6216 3672 Accepted 100
25 4 0032.3 6216 3484 Accepted 100
26 4 0034.7 6216 3544 Accepted 100
27 4 0053.3 6216 3624 Accepted 100
28 4 0029.7 6216 3472 Accepted 100
29 4 0032.8 6216 3624 Accepted 100
30 4 0040.0 6216 3540 Accepted 100
31 4 0048.4 6216 3524 Accepted 100
32 4 0049.0 6216 3560 Accepted 100
33 4 0058.3 6216 3388 Accepted 100
34 4 0035.9 6216 3584 Accepted 100
35 4 0036.6 6216 3588 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
764 Bytes
Back to Top