We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- All Contests
- ProjectEuler+
- Project Euler #172: Investigating numbers with few repeated digits
- Discussions
Project Euler #172: Investigating numbers with few repeated digits
Project Euler #172: Investigating numbers with few repeated digits
Sort by
recency
|
32 Discussions
|
Please Login in order to post a comment
This problem can be solved by finding recurrence relation using exponential generating functions. Becuase we calculate mod 10^9 + 7 we must find modulo inverses for factorials. The recurrence relation can also be found using pure combinatorics.
my code work perfectly if k below 6... if the k is 7 and above, my C# code will not showing any result...i think is the max size of the data type problem...
Can I know the mistake?
My code is not submitting. Its show Terminated due to timeout..... only Testcase0 is submitted .
when will contest end :p