Marks :100
: 8 | : 0
Given three integers X, Y and Z, your task is to find the sum of all the numbers formed having 4 at most X times, 5 at most Y times, and 6 at most Z times
Output the sum modulo ($$$10^9+7$$$)
The first line of input contains three integer x,y,z. ($$$1 \le x,y,z \le 60$$$)
Output the sum of all the numbers formed
1 1 1
3675
0 0 0
0
For test case 1:
Explanation: 4 + 5 + 6 + 45 + 54 + 56 + 65 + 46 + 64 + 456 + 465 + 546 + 564 + 645 + 654 = 3675
You need to login to view your submissions.
You need to login to view all submissions.
Result : Executed
Feel something is wrong with the test cases?
Result : Accepted
Test Cases :
But to Run or Submit the Problem, you need to Log In.
Continue to Log InYour challenge has been submitted successfully.
You will get a response soon via WhatsApp or Email.
Do let us know your issue.