GCJ 2008 - Alien Numbers

'Alien Numbers' problem statement:Problem-------The decimal numeral system is composed of ten digits, which we represent as "0123456789" (the digits in a system are written from lowest to highest). Imagine you have discovered an alien numeral system composed of some number of digits, which...

» [Read More]

Playing With Googol

Sample program, which shows how to deal with large numbers like Googol:Here's the output of this program:Googol1 : 9223372036854775807Max Value of Long : 9223372036854775807Googol2 : 1.0E+100Googol Multiplied By PI : 3.1415926535897930E+100

» [Read More]

Google Billboard Puzzle

In July 2004, Google tried a innovative way of recruiting talented people, by posting a mathematical puzzle on a billboard on 'Highway 101' in the heart of silicon valley. The billboard read:{first 10-digit prime found in consecutive digits e}.com." The answer, 7427466391.com, would lead to a...

» [Read More]

Spiral Walking

Problem: Spiral WalkingDescription: The problem is to traverse a rectangular grid of cells, starting from the top first cell on the left. Initially, you start in the "right" direction and move through the grid, cell by cell. Each and every cell must be visited only once. If you...

» [Read More]