Tomaz Hocevar's submission of The Number Of Solutions | CodeChef