Google Code Jam - Qualification Round 2013 - A. Tic Tac Toe Tomek