COUPON - Editorial

u shud use 1e18. :wink:
Or just take min=(LL)1e9*1e9

thanks a lot… it worked :wink:

1 Like

@Author : A good problem with a clear, detailed explanation. Thank you.

Can anyone please explain the input format? I am new to Codechef. Thank you.