Problems from Google Code Jam 2011 Online Competition Africa and Arabia