On Saturday, March 18, 2017 at 11:08:09 AM UTC+5:30, Xiongqi ZHANG wrote: > check out https://en.wikipedia.org/wiki/Bertrand's_ballot_theorem > > > Anurag Rai <[email protected]>于2017年3月17日周五 上午5:16写道: > Problem: https://codejam.withgoogle.com/codejam/contest/6304486/dashboard#s=p1 > > > > I solved for the small test case. Large test case was creating problem due to > large factorials. Upon seeing the solution by ppl, I see ppl doing simply > (N-M)/(N+M). > > What is the intuition behind it. thanks in advance! > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To post to this group, send email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-code/ce3fa4e6-6fb9-4812-af39-a8f25f2b277a%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.
Thankyou ! -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/54d705af-03dc-4875-9a3f-80ff22b99b1a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
