Output "Accepted" on Running code but "Wrong Answer" on Submit code for exact same input value

Hi, Please check the screenshot attached. I am using the exact same code and exact same input, but when I run the code, it gives correct output and different output when I submit code.
image

Comments (2)