[gcj] Round 1B - Square Math

2009-09-13 Thread Roshan Amadoru
Hello Everyone, Can someone explain how to solve the Square Math problem ? Cheers! Roshan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to google-code@goog

[gcj] Re: Round 1A | Problem C. Collecting Cards

2009-09-12 Thread Roshan Amadoru
he > propobility that you will not get a new card is 1/3. > So, f(0)=0; f(1)=1.5; f(3) = 2.5; > > > On Sat, Sep 12, 2009 at 6:33 PM, Roshan Amadoru > wrote: > >> >> can you show how to get the answer when C=3, N=2.. i'm still a little >> confused to be h

[gcj] Re: Round 1A | Problem C. Collecting Cards

2009-09-12 Thread Roshan Amadoru
can you show how to get the answer when C=3, N=2.. i'm still a little confused to be honest. bas wrote: > Let f(k) be the expected number of packs we need to buy if we still > don't have k cards (or we have C-k cards). > To solve the problem we need to find f(C). Note: f(0)=0. > > In the first e

[gcj] Re: favorite programming language?

2009-09-09 Thread Roshan Amadoru
apperently that's not the only one. http://www.go-hero.net/jam/09/name/kirarinsnow On Thu, Sep 10, 2009 at 1:33 AM, Luke Pebody wrote: > > i'm Bozzball. Not a monster. I just thought it would be fun. > > On Wed, Sep 9, 2009 at 7:29 PM, Satyajit > Malugu wrote: > > [ > > Brainf**k adaptation o

[gcj] Re: Scoreboard with Filters

2009-09-09 Thread Roshan Amadoru
Great Job Sandaruwan!!! Regards, -Roshan Amadoru On Wed, Sep 9, 2009 at 8:19 PM, Sandaruwan Gunathilake < sandaru...@gunathilake.com> wrote: > The source code is now open source. > > http://github.com/sandaru1/codejam > > Regards, > Sandaruwan > > On Mon, Sep