Answers to: nCr % M where M is non-primehttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime<p>How to find nCr % M where M is non-prime?
Please explain algo in detail.</p>enWed, 10 Jun 2015 02:35:28 +0530Comment by ironmandhruv on urdarinda's answerhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71308<p>yes, clearly going from "plz explain algo in detail", a lot of learning is taking place. Clearly it is a part of the problem and answering him would have stopped him from finding the answer himself(which is entirely the point of the Long).
The part that I find most funny is, you yourself have not solved the problem, yet feel that answering this question will not give away the details of the question.</p>ironmandhruvWed, 10 Jun 2015 02:35:28 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71308Answer by appticahttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71301<p><a href="/users/60388/urdarinda">@urdarinda</a> i also totally agree with you but since codechef has its own rules and regulations which could have an opposite impact on us so i thought helping after contest is more suitable</p>appticaTue, 09 Jun 2015 20:55:57 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71301Answer by urdarindahttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71273<p>I am not able to find the reply button on any of your posts above <a href="/users/40091/ironmandhruv">@ironmandhruv</a> <a href="/users/73982/apptica">@apptica</a>
But I believe that the question should be answered because the point of LONG is to learn! and its not that answering this question gives away the details of the question anyways</p>urdarindaTue, 09 Jun 2015 14:34:32 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71273Answer by king_of_hackerhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71263<p>Good that you now found it on our own. That is the character of a good coder. All the best...</p>king_of_hackerTue, 09 Jun 2015 11:25:38 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71263Comment by utkarsh13 on ironmandhruv's answerhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71239<p>I will share my method after the contest is over.</p>utkarsh13Mon, 08 Jun 2015 20:09:45 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71239Comment by utkarsh13 on xlee's answerhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71238<p>PS: This is indirectly related to June Long</p>utkarsh13Mon, 08 Jun 2015 20:08:21 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71238Answer by xleehttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71234<p>I do not understand whether one should answer this question or not!
Well the guy is making no reference to any of the contest!
Can someone be clearer about the rule? <a href="/users/1/admin">@admin</a></p>xleeMon, 08 Jun 2015 18:12:16 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71234Comment by ironmandhruv on ironmandhruv's answerhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71216<p>Then you have achieved the purpose of the problem, which simply was to figure out your problems yourself!</p>
<p>Happy that you did it! :)</p>ironmandhruvMon, 08 Jun 2015 06:58:19 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71216Comment by utkarsh13 on ironmandhruv's answerhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71214<p>Well i know its related to ongoing contest but explaining this still wont reveal the most crucial part of the problem.
BTW, I figured it out on my own.</p>utkarsh13Mon, 08 Jun 2015 05:28:13 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime#71214Answer by appticahttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71148<p>Discussion of strategies during ongoing contest is against codechef rules. So better stay away from this till contest ends.</p>appticaSat, 06 Jun 2015 20:43:26 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71148Answer by ironmandhruvhttps://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71146<p>^Clearly the doubt relates to the problem STDYTAB,part of the ongoing contest. Therefore no help will be provided. Figure it out on your own.</p>ironmandhruvSat, 06 Jun 2015 20:11:26 +0530https://discuss.codechef.com/questions/71145/ncr-m-where-m-is-non-prime/71146