https://www.codechef.com/viewsolution/32037586
all the inputs and ouputs are considered and thats why all variables are taken as integer but as soon as int is changed to long long int the solution is accepted
https://www.codechef.com/viewsolution/32037586
all the inputs and ouputs are considered and thats why all variables are taken as integer but as soon as int is changed to long long int the solution is accepted