Why do i get a WA even after returning the correct output ? [GFG]

Revision en1, by Saksham_Sahgal, 2022-07-06 18:23:31

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?

Tags #gfg, geeksforgeeks, trees, euler tour


  Rev. Lang. By When Δ Comment
en1 English Saksham_Sahgal 2022-07-06 18:23:31 505 Initial revision (published)