Search found 6 matches

by sanzeee
Wed Nov 05, 2014 7:23 am
Forum: Volume 116 (11600-11699)
Topic: 11605 - Lights inside a 3d Grid
Replies: 2
Views: 1128

Re: 11605 - Lights inside a 3d Grid

I got the idea of the closed form. thanks to Jacob from codeforces

thanks anyways.
by sanzeee
Thu Oct 30, 2014 5:39 pm
Forum: Volume 116 (11600-11699)
Topic: 11605 - Lights inside a 3d Grid
Replies: 2
Views: 1128

Re: 11605 - Lights inside a 3d Grid

to solve this problem i derived the following equation for a single light bulb: Let p is the probability of selecting the light. So the expectation for the light will be sum over i(1 to k) : p^i * (1-p)^(k-i). Now we only need to add the terms where i is odd as only then the light will be ON. calcul...
by sanzeee
Sun Jun 01, 2014 12:07 pm
Forum: Volume 115 (11500-11599)
Topic: 11542 - Square
Replies: 16
Views: 5805

Re: 11542 - Square

Thanks :D
by sanzeee
Wed May 28, 2014 10:36 pm
Forum: Volume 115 (11500-11599)
Topic: 11542 - Square
Replies: 16
Views: 5805

Re: 11542 - Square

Need some testcases.getting WA
Please help.

Code: Select all

Found the mistake.
by sanzeee
Sun Feb 24, 2013 11:57 pm
Forum: Volume 124 (12400-12499)
Topic: 12425 - Best Friend
Replies: 0
Views: 1357

12425 - Best Friend

I am stuck in this problem.
Need some idea.

thanks in advance.
by sanzeee
Tue Oct 19, 2010 10:04 pm
Forum: Volume 104 (10400-10499)
Topic: 10497 - Sweet Child Makes Trouble
Replies: 19
Views: 9739

Re: 10497 - Sweet Child Makes Trouble

I am getting WA!!!

I think It is my big int class that is causing WA!!
Can any one give me some input output so that i can verify my Big int class
please ....

Go to advanced search