Problem link: COUPON Problem - CodeChef
Solution: CodeChef: Practical coding for everyone
In subtask 1 where m = 2, the solution is giving wrong answer, any help. Thank you
Problem link: COUPON Problem - CodeChef
Solution: CodeChef: Practical coding for everyone
In subtask 1 where m = 2, the solution is giving wrong answer, any help. Thank you
The answer is large, so INT_MAX may not work
thanks, it worked with 1e18.