u shud use 1e18. 
Or just take min=(LL)1e9*1e9
thanks a lot… it worked 
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.