Code giving correct output when testing with custom input but on submit, says wrongly incorrect


#1

When submitting my code, it gives me that my code produced some other output, whereas expected was different. But on testing the same input with custom input, I find that my code produces the expected output only. This is probably the bug of the portal. Kindly let me know.