I’m getting WA in cases #3 and #4. Can someone help me out ?Here’s the code
it’s because of overflow. Change the 'int’s to ‘long long int’