Google Codejam 2010 :(

Qualification Round:
Problems  can be viewed here.
My result rank: 8555 =( Not Qualified.

Recover dual-boot Ubuntu - Making Windows Load GRUB (and then Linux)

Problem Situation: Let me call the 2 patitions A and B. A contains Windows xp sp2 and B contains Ubuntu 9.04. Windows got corrupt. I reinstalled windows in Partition A. Finally when i rebooted my computer, there was no option to access Ubuntu(partition B). Now i can work only from Windows. How could I recover Ubuntu?

Solution: 
This is taken from Dual-Boot Linux and Windows 2000/Windows XP with GRUB HOWTO.

Boot through Windows to insert Ubuntu Live CD and then restart your computer. Now automatically Ubuntu Live CD will bootup.

1. In Linux Live CD Interface open a command window.