Sum of digits
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Count the number of N-digit positive integers that sum of digits in the binary and decimal number systems are the same. (N = 1..10).
Input
The file recorded a positive integer N (N = 1..10).
Output
Single number - the answer to the problem.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 20%