One day, little Toby decided to visit RIM (Research Institute of Mathematics). As he knocked on one of the doors, he found a scatterbrained mathematician who was mumbling for himself something like: "100110 is 1*(-2)^5 + 0*(-2)^4 + 0*(-2)^3 + 1*(-2)^2 + 1*(-2)^1 + 0*(-2)^0, i.e. -30". Suddenly the mathematician noticed Toby, got very scared, ran away, and locked himself in the hydrant. read on
Interesting small programming challenges like the one above and their solutions are available at the Norwegian Informatics Olympiad website.
[Via Jan's diary]
Friday, June 10, 2005
Norwegian Informatics Olympiad
© Ramki 2005 - Powered by Blogger Templates