Question: Question 2 7 Max. score: 1 0 0 . 0 0 Numbers and cards You are given 1 0 types of cards. Every card has

Question 27
Max. score: 100.00
Numbers and cards
You are given 10 types of cards. Every card has a specific number written on it from O to 9. There are K cards for each number. You have a total
13
of 10**K cards.
14
Select N cards from the provided 10**K cards and determine the number of different sets of N cards that can be generated.
The first line contains two space-separated integers N and K.
Output format
Print the answer representing the number of different sets of N cards modulo (109+7).
Constraints
1N,K109
N10K
Next Question >
View test cases
Question 2 7 Max. score: 1 0 0 . 0 0 Numbers and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!