Solutions to programming challenges in several sites: UVa, OIE, SPOJ, etc.