Category: Uncategorized
-
Another day, another problem. Milkshakes it is! And it’s pretty straightforward: You own a milkshake shop. There are N different flavors that you can prepare, and each flavor can be prepared “malted” or “unmalted“. So, you can make 2N different types of milkshakes. Each of your customers has a set of milkshake types that they…
-
Hey there, since things are getting a little more calm, I can focus once more to solve some nice Code Jam problems. And here we go, from the first official tournament round: Problem A: Minimum Scalar Product. It says: You are given two vectors v1=(x1,x2,…,xn) and v2=(y1,y2,…,yn). The scalar product of these vectors is a…
-
I’ve read a very interesting article today about creating unmaintainable code (was also featured on Slashdot, funny comments ahead!) and, as many fellows have observed, documentation is indeed its most important cause factor. Lack of documentation (very frequent) or even misleading text (that’s unusual, but can happen by being not up-to-date) gets in the way…
-
Well, since we’re mostly finished with the company project, I can now put some of my attention here again. I’ts been a while! I’ve been trying to crack some hard (for me at least) CodeJam problems, from probabilities to geometry and I’ve not been able to move on much, must study a lot more. In…
-
Since this week I’ll be busier than usual, I’m trying to do little things everyday. Well, today I created a new GitHub repository for my CodeJam problems. If you’d like to check out, then check out! 😀 I guess this way I can work in a more flexible way. See ya!
-
Just stopped by quickly to say that may not be able to post during this week… finishing projects at work, so, that means long hours and a tight schedule. But I’ll be fine. I sincerely hope there’s pizza for dinner. 🙂 baba
-
Well, it’s been a tough weekend. Many new things were installed at home, lots of drilling and weightlifting (oh my arms…) but feels nicer after all. 🙂 More places for the kittens to hide. That said, I’m evolving on Africa 2010 CodeJam D problem, but as soon as I get closer to solving, another challenge…
-
Whoa, that was a tough problem. Ironically it’s called Qualification Round: You’ve just advanced from the Qualification Round of Google Code Jam Africa 2010, and you want to know how many of your fellow contestants advanced with you. To give yourself a challenge, you’ve decided only to look at how many people solved each problem.…
-
Howdy! This time, problems started getting more and more complex, and that’s good, because I like the challenge! The next problem is Get to Work: You work for a company that has E employees working in town T. There are N towns in the area where the employees live. You want to ensure that everyone will be able to make…
-
Hey there! So, another day, another problem! This time, it is called Odd Man Out, and it is quite simple to “get”: You are hosting a party with G guests and notice that there is an odd number of guests! When planning the party you deliberately invited only couples and gave each couple a unique number C on their invitation.…