Problem Description
Little Ponny is enjoying his summer vacation, but in the meantime, he also want
There are N days left in the vacation, and There are M types of activities number
There is a boredom limit associated with each of these M activities, i.e., he does
Can you find the total number of ways to spend these N days doing exactly one
Two ways are different if there exists a day such that activity done on this day in
Since the answer can be very large, return it modulo 10°+7
Answers
Answered by
0
Explanation:
Problem Description
Little Ponny is enjoying his summer vacation, but in the meantime, he also want
There are N days left in the vacation, and There are M types of activities number
There is a boredom limit associated with each of these M activities, i.e., he does
Can you find the total number of ways to spend these N days doing exactly one
Two ways are different if there exists a day such that activity done on this day in
Since the answer can be very large, return it modulo 10°+7
Similar questions