Getting a tick in Correctness but Getting ‘Wrong Answer’ in Efficiency with following message:
Wrong Answer. Your program’s output doesn’t match the expected output. You can try testing your code with custom input and try putting debug statements in your code.
Your code may have an overflow issues. Make sure you are typecasting variables before arithmetic operations correctly.
I have put correct typecast and I am still getting this error.
Can someone help?