I am able to clear only one testcase
Whats wrong with my code?
What is wrong with my code?
Hi Vivek. I have corrected ur code. its working fine now
Only correction was to use long long int instead of int right?
yes one was long long int.
other was
here u were using e instead of n
Why does it require long long int?
see the constraints 1 ≤ N,M,X,Y ≤ 10^9​​
what is the limit of int?
its 10^9. but when u multiply and do other computations value may go beyond 10^9.
so long long int is required
what is the difference between long long and ling long int?
both are same and denote the same type
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
understood!! Thank you for ur help