Can anyone debug my code for COV2TREE
My Solution : here
Verdict showing WA in a single test case in Sub task II
Suggest some test cases, if possible.
Thanks in advance.
Can anyone debug my code for COV2TREE
My Solution : here
Verdict showing WA in a single test case in Sub task II
Suggest some test cases, if possible.
Thanks in advance.
overflow of res variable
You also have an out of bounds in V inside dfs that can produce undefined behaviour
Thank you! 
It worked. 