You are given n dice, where each die has k faces numbered from k.
Return the total number of possible ways to roll the dice such that the sum of the face-up values equals target. Since the answer can be very large, return it modulo
Constraints:
n, k
target
You are given n dice, where each die has k faces numbered from k.
Return the total number of possible ways to roll the dice such that the sum of the face-up values equals target. Since the answer can be very large, return it modulo
Constraints:
n, k
target