Devendra Agarwal's submission of The Number Of Solutions | CodeChef