Various Programming Competition Solutions