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.
- Prepare
- Mathematics
- Number Theory
- nCr
- Discussions
nCr
nCr
Sort by
recency
|
29 Discussions
|
Please Login in order to post a comment
I thought this was easy and then saw the problem constraints 🤣🤣
message blocked by spam checker.... failed turing test...
all the trash on these discussions and the following comment gets blocked until i add the little rant to precede?! lol.
math.comb TLE all but 5 test cases. as comment below states, math.factorial also.
why is this?
5 test passes, anyone can recode my solution please
Useful link: generalization of Lucas theorem by Andrew Granville
Python3 solution