Can anyone take a look on my code? It gives me correct output, no idea why codechef says W/A.
I was tring my best to make this code readable. Thanks!
Cutting Recipes Problem Code: RECIPE
It’s Python 3.5.
Links:
[Problem][1] /
[2]
[1]: https://www.codechef.com/problems/RECIPE
[2]: https://www.codechef.com/viewsolution/16331487