Initial commit.
CJ2008 qualification round, problem B
CJ2008 round 1A, problem A
CJ2008 round 1A, problem B