I get this when i submit code —

but when i run my exact same testcase in test against custom input window i get —

which is the correct output.
here is my submission — Submission
what am i doing wrong?
Why do i get a WA even after returning the correct output ? [GFG]
I get this when i submit code —

but when i run my exact same testcase in test against custom input window i get —

which is the correct output.
here is my submission — Submission
what am i doing wrong?
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en1 |
|
Saksham_Sahgal | 2022-07-06 18:23:31 | 505 | Initial revision (published) |