[gcj] Contest analysis for Round 1A GCJ-2014

2014-04-28 Thread PG
Hi, Would anyone know when will the contest analysis for Round 1A GCJ-2014 be published online? Cheers, PG -- 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 g

Re: [gcj] Round1A Charging Chaos

2014-04-28 Thread Jiatu Liu
Two space-separated integers means two integers not two spaces (integer is in the plural form, but space is not). Same for N-space separated strings. Jiatu 发自我的 iPhone > 在 2014年4月28日,9:33,Geet Thaker 写道: > > Hi, > > Input description of Charging Chaos program in Round1 A, it says > > The f

Re: [gcj] Problem A

2014-04-28 Thread LeppyR64
I am also not a "programmer". My line of work takes me more into the data analysis side. I have always been big into problem solving and logic puzzles. Programming contests is somewhat of a natural extension of that. The goal of things like Topcoder, SPOJ, Codeforces, Code Jam, etc, is to b

Re: [gcj] Re: Google Code Jam Preparation Tips

2014-04-28 Thread Vaibhav Tulsyan
Stanislav, I completely agree with you! On Apr 28, 2014 11:53 PM, "Stanislav Zholnin" wrote: > That's funny - pan and paper :) Now, I don't generally eat during > competition. Even snacks they tend to distract more then help. Eat > something high in proteins and Omega oils 3-4 hours before, then

Re: [gcj] Problem A

2014-04-28 Thread Leandro Coutinho
Interesting someone that isn't a programmer professionally and like this stuff. On Mon, Apr 28, 2014 at 10:49 AM, Stanislav Zholnin < stanislav.zhol...@gmail.com> wrote: > I think emotionally being in the middle (definitely not novice, but too > far from top performers) is very difficult. On one

[gcj] Re: Google Code Jam Preparation Tips

2014-04-28 Thread Stanislav Zholnin
That's funny - pan and paper :) Now, I don't generally eat during competition. Even snacks they tend to distract more then help. Eat something high in proteins and Omega oils 3-4 hours before, then banana or something similar fifteen minutes before. And don't use pans during the competition :)

[gcj] Re: Google Code Jam Preparation Tips

2014-04-28 Thread Stanislav Zholnin
Trick behind people solving problems in just 10-15 minutes is easy and difficult at the same time. To solve problem you need two things: a) figure out how to solve the problem b) to code up solution as fast as possible. (b) part is easier - you just need to train implementing solutions as fast a

Re: [gcj] proper shuffle problem round 1A

2014-04-28 Thread Luke Pebody
What you are looking for is some condition (let's call it S) that a good random permutation will satisfy with high probability, and a bad random permutation will satisfy with low probability. Then the solution will be: read in each permutation, and output good if it satisfies the condition and

Re: [gcj] Re: Round1A Charging Chaos

2014-04-28 Thread Bartholomew Furrow
Geet, I know it's sometimes common for people to poke fun at their own nationality. I don't know if you're Indian yourself, but I'll give you the benefit of the doubt; with that said, this mailing list isn't a place for stereotyping people from certain countries. Even if it's your own country, and

Re: [gcj] Re: Round1A Charging Chaos

2014-04-28 Thread Geet Thaker
Thanks Everybody. Vivek, I assumed the same from the input file while contest, but confused by wording. But thanks for answering terrible questions, next time please ignore those questions from *INDIANS*. Thanks, Geet On Mon, Apr 28, 2014 at 10:06 AM, Paul Smith wrote: > "two space-separated

Re: [gcj] Re: Round1A Charging Chaos

2014-04-28 Thread Paul Smith
"two space-separated integers" = "There are 2 integers. They are separated by a space" "N space-separated strings" = "There are N strings. They are each separated by a space" It really would be unkind of the problem setters to throw abritrary weirdness into the input file. Paul Smith p...@pol

[gcj] Re: Round1A Charging Chaos

2014-04-28 Thread Stanislav Zholnin
понедельник, 28 апреля 2014 г., 8:33:20 UTC-5 пользователь TheGeetT написал: > Hi, > > > Input description of Charging Chaos program in Round1 A, it says  > > > The first line contains two space-separated integers N and L. The second line > contains N space-separated strings of length L, repre

[gcj] Re: proper shuffle problem round 1A

2014-04-28 Thread Stanislav Zholnin
I did a lot of investigation during the round. The problem for me was that I didn't know when to stop - when irregularities I noticed would be enough to get correct answer. Remembering last year's "Good Luck" (another Mitrichev style problem ;) I though that to get through you really need to be

Re: [gcj] Problem A

2014-04-28 Thread Stanislav Zholnin
I think emotionally being in the middle (definitely not novice, but too far from top performers) is very difficult. On one hand you know how much you've put in already, on the other way you see light years you need to put in to get even a little closer to top performers. Probably even worse then

[gcj] Round1A Charging Chaos

2014-04-28 Thread Geet Thaker
Hi, Input description of Charging Chaos program in Round1 A, it says The first line contains *two space-separated* integers N and L. The second line contains *N* *space-separated strings* of length L, representing the initial electric flow from the outlets. The third line also contains *N* *space

[gcj] Re: proper shuffle problem round 1A

2014-04-28 Thread Sam Scott
Looks very similar to my solution. My idea was that the bad shuffle might end up moving too many items back to the left, so I counted how many were in their original position or left. This should be around 500 for a proper shuffle. It worked, although it turned out that my instinct was backwards

[gcj] Re: Google Code Jam Preparation Tips

2014-04-28 Thread Aaron Chan
There's a book called Competitive Programming that has a lot of tips on how to prepare for programming contests. It's tailored more to the ICPC than TopCoder or CodeJam, but seeing that the first edition is free, I recommend it. -- You received this message because you are subscribed to the Goo