Hello guys ,
In the yesterdays lunch time problem : https://www.codechef.com/problems/BFRIEND
Here is my code where i was using unsingned long long int and it gave WA : https://www.codechef.com/viewsolution/29204927
And here is the same code which i did long long int which gave AC :
As no value becomes negative , why is this giving WA ?
Is it because i did abs() function ??
Someone please help me