[gcj] Arrrggggghhhh

2013-05-04 Thread zach polansky
Can someone tell me what is wrong??? Input: 100 20 -2 4 3 -2 0 12 0 0 14 4 0 18 2 0 10 -4 0 5 0 2 16 0 0 18 0 4 11 0 0 17 0 2 15 4 0 6 -1 1 6 -2 2 10 3 1 5 0 2 1 0 682 10 2 2 5 9996 0 12 2 0 14 -1 3 4 1637 3881 5 0 4 10 3 1 5 -2 0 10 2 2 6 4 0 16 1747 2953 16 -6 0 14 1379 9755 1 0 2 16 -4 0 14 0

Re: [gcj] Arrrggggghhhh

2013-05-04 Thread ZHANG Xiongqi, Parker
My Accepted Program shows that Case #15: 0.6875 Case #24: 0.6875 On 2013/5/5 2:33, zach polansky wrote: Can someone tell me what is wrong??? Input: 100 20 -2 4 3 -2 0 12 0 0 14 4 0 18 2 0 10 -4 0 5 0 2 16 0 0 18 0 4 11 0 0 17 0 2 15 4 0 6 -1 1 6 -2 2 10 3 1 5 0 2 1 0 682 10 2 2 5 9996 0 12 2 0

Re: [gcj] Arrrggggghhhh

2013-05-04 Thread zach polansky
N! 2 cases away from round 2! D: -- 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 google-code+unsubscr...@googlegroups.com. To post to this group, send

Re: [gcj] Arrrggggghhhh

2013-05-04 Thread porker2008
I already know why you have that wrong output. Did you figure it out by yourself? :) Parker On Sunday, May 5, 2013 4:26:21 AM UTC+8, zach polansky wrote: N! 2 cases away from round 2! D: -- You received this message because you are subscribed to the Google Groups Google Code Jam

Re: [gcj] Arrrggggghhhh

2013-05-04 Thread zach polansky
Yup! I noticed that small limits were very small, and I computed all of the individual probabilities by hand that were not 1 or 0. I did (1+4+6)/32 = (12)/32 and couldn't find my mistake -- You received this message because you are subscribed to the Google Groups Google Code Jam group. To

Re: [gcj] Arrrggggghhhh

2013-05-04 Thread porker2008
I think it should be (1+4+6)/16 = 11/16 = 0.6875 On Sunday, May 5, 2013 5:30:55 AM UTC+8, zach polansky wrote: Yup! I noticed that small limits were very small, and I computed all of the individual probabilities by hand that were not 1 or 0. I did (1+4+6)/32 = (12)/32 and couldn't find my

Re: [gcj] Arrrggggghhhh

2013-05-04 Thread zach polansky
yes, I got that now, thats what I did earlier -- 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 google-code+unsubscr...@googlegroups.com. To post to this group,