Please check the testcases for problem QTREE6 and take a look at my solution.
That is not how it’s going to work here
I’ve passed with a solution that shouldn have passed, so I bet they will fix it.
Since it’s still early during the contest, they might add extra test cases and rejudge all the AC solutions. They did that for REALSET. But it depends if the problem setter has time to create new test cases.