Tomaz Hocevar's submission of Flood | CodeChef