Google Code Jam
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Google Code Jam
Whew. Not fast enough, I guess. I worked on problems 1 and 2. Conceptually, they didn't seem very difficult. I ran into a couple of hiccups with getting the correct input for problem 2, and didn't get something submitted in time.
I guess I need to work on my speed.
I got problem 1 correct.
I guess I need to work on my speed.
I got problem 1 correct.
be immersed
- Solomon
- Gosei
- Posts: 1848
- Joined: Tue Apr 20, 2010 9:21 pm
- Rank: AGA 5d
- GD Posts: 0
- KGS: Capsule 4d
- Tygem: 치킨까스 5d
- Location: Bellevue, WA
- Has thanked: 90 times
- Been thanked: 835 times
Re: Google Code Jam
Couldn't get to my home in time to do it (was teaching Go at Sakura-con since I had the day off today). I did read the problems on the bus though, and thought Problem C was pretty awesome (and it looked incredibly difficult, which judging from the stats looked like it was). See you guys at 1B!
-
gamesorry
- Lives with ko
- Posts: 149
- Joined: Thu Jan 22, 2015 6:03 pm
- Rank: 3d
- GD Posts: 0
- KGS: 3d
- DGS: 3d
- OGS: 3d
- Has thanked: 276 times
- Been thanked: 49 times
Re: Google Code Jam
Almost same hereKirby wrote:Whew. Not fast enough, I guess. I worked on problems 1 and 2. Conceptually, they didn't seem very difficult. I ran into a couple of hiccups with getting the correct input for problem 2, and didn't get something submitted in time.
I guess I need to work on my speed.
I got problem 1 correct.
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Google Code Jam
Yeah, the wording on Problem 2 sucked. I spent several minutes thinking, "what in the world are you asking?"
be immersed
-
hyperpape
- Tengen
- Posts: 4382
- Joined: Thu May 06, 2010 3:24 pm
- Rank: AGA 3k
- GD Posts: 65
- OGS: Hyperpape 4k
- Location: Caldas da Rainha, Portugal
- Has thanked: 499 times
- Been thanked: 727 times
Re: Google Code Jam
"A Competitive Programmer's Handbook" was posted to Hacker News, for anyone who doesn't visit that site: https://news.ycombinator.com/item?id=14115826
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Google Code Jam
I majored in computer science and started to learn about computer science in 2002. It was pretty exciting to me at the time (mostly because of video games), but I learned about go - something that seemed even more interesting - around 2003, just a year and a half later.
Since then, programming wasn't something I was passionate about - just something I had to do to make money.
From this year's competition, programming has become interesting to me, again. I like that
Since then, programming wasn't something I was passionate about - just something I had to do to make money.
From this year's competition, programming has become interesting to me, again. I like that
be immersed
- Solomon
- Gosei
- Posts: 1848
- Joined: Tue Apr 20, 2010 9:21 pm
- Rank: AGA 5d
- GD Posts: 0
- KGS: Capsule 4d
- Tygem: 치킨까스 5d
- Location: Bellevue, WA
- Has thanked: 90 times
- Been thanked: 835 times
Re: Google Code Jam
Anyone managed to advance to R2? I tried R1B, but only solved A (which isn't even enough for top 5000
). Not sure if I have the motivation to wake up at 2am to try R1C, but we'll see...
Also, on an unrelated note, I got introduced to this really cool math channel on youtube called 3Blue1Brown, and it's full of awesome videos that I've been watching while eating dinner. They have a video where they talk about a very interesting way of generating the sequence needed to solve the Tower of Hanoi problem discussed earlier using binary numbers: https://www.youtube.com/watch?v=2SUvWfNJSsM
Also, on an unrelated note, I got introduced to this really cool math channel on youtube called 3Blue1Brown, and it's full of awesome videos that I've been watching while eating dinner. They have a video where they talk about a very interesting way of generating the sequence needed to solve the Tower of Hanoi problem discussed earlier using binary numbers: https://www.youtube.com/watch?v=2SUvWfNJSsM
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Google Code Jam
I didn't end up participating in R1B. We went to the Washington State Fair, instead. I have been practicing programming pretty much every day, though.Solomon wrote:Anyone managed to advance to R2? I tried R1B, but only solved A (which isn't even enough for top 5000). Not sure if I have the motivation to wake up at 2am to try R1C, but we'll see...
Particularly, I've been studying recursion problems. I think I have a weak point there. Actually, the bigger weak point is what Shaddy already pointed out - I think I have an idea of what to do, start programming, then realize I didn't think everything through. I'm trying to consciously think the problem through all the way before writing it up. That takes some effort, sometimes.
Not sure if I want to do R1C, given the time.
be immersed
- Solomon
- Gosei
- Posts: 1848
- Joined: Tue Apr 20, 2010 9:21 pm
- Rank: AGA 5d
- GD Posts: 0
- KGS: Capsule 4d
- Tygem: 치킨까스 5d
- Location: Bellevue, WA
- Has thanked: 90 times
- Been thanked: 835 times
Re: Google Code Jam
Maybe we should have weekly Lifein19x19 competitions for programming, similar to your weekly tsumego rounds? I set up a contest using the Kattis platform with several problems that are recursive / DP in nature: https://open.kattis.com/contests/nhx45f/. I have it set to start this Friday 7pm PST and end on Sunday at 9pm (50 hours). If there's enough interest in this, I can create a separate thread in Off-Topic where we can discuss ideas and code. (And I promise I haven't done these problems before, so I'll definitely be giving them a shotKirby wrote:I have been practicing programming pretty much every day, though.
Particularly, I've been studying recursion problems. I think I have a weak point there. Actually, the bigger weak point is what Shaddy already pointed out - I think I have an idea of what to do, start programming, then realize I didn't think everything through. I'm trying to consciously think the problem through all the way before writing it up. That takes some effort, sometimes.
Not sure if I want to do R1C, given the time.
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
- HermanHiddema
- Gosei
- Posts: 2011
- Joined: Tue Apr 20, 2010 10:08 am
- Rank: Dutch 4D
- GD Posts: 645
- Universal go server handle: herminator
- Location: Groningen, NL
- Has thanked: 202 times
- Been thanked: 1086 times
Re: Google Code Jam
I haven't made an attempt yet. Round 1A started at 3am my time, and round 1B at 6pm on the Saturday of our big local go tournament, so neither was an option. Round 1C is at 11am on a Sunday, sounds perfect 
- Shaddy
- Lives in sente
- Posts: 1206
- Joined: Sat Apr 24, 2010 2:44 pm
- Rank: KGS 5d
- GD Posts: 0
- KGS: Str1fe, Midorisuke
- Has thanked: 51 times
- Been thanked: 192 times
Re: Google Code Jam
That sounds like an awesome idea! I'll love to play. Also didnt get a shot at the last codejam round, but 1c should be alright.
- quantumf
- Lives in sente
- Posts: 844
- Joined: Tue Apr 20, 2010 11:36 pm
- Rank: 3d
- GD Posts: 422
- KGS: komi
- Has thanked: 180 times
- Been thanked: 151 times
Re: Google Code Jam
I'm hoping to do 1C as well, but these ultra short rounds are quite challenging to fit in when you've got other calls on your time. Couldn't do 1A/B. Definitely preferred the 24 hour prelim round.
- HermanHiddema
- Gosei
- Posts: 2011
- Joined: Tue Apr 20, 2010 10:08 am
- Rank: Dutch 4D
- GD Posts: 645
- Universal go server handle: herminator
- Location: Groningen, NL
- Has thanked: 202 times
- Been thanked: 1086 times
Re: Google Code Jam
I participated in 1C and solve A-small, A-large, B-small, B-large and C-small-1, which got me 516th place, qualifying for the next round.
Problems 1 and 2 were not hard, but took me way too long due to silly bugs, typos and whatnot. So I only had 30 minutes left for problem 3 and only attempted the first data set, which has an additional constraint making it much easier than the second.
Sadly, although I qualified, I won't be able to compete in the next round. I have a prior engagement exactly at that time
Problems 1 and 2 were not hard, but took me way too long due to silly bugs, typos and whatnot. So I only had 30 minutes left for problem 3 and only attempted the first data set, which has an additional constraint making it much easier than the second.
Sadly, although I qualified, I won't be able to compete in the next round. I have a prior engagement exactly at that time