Run Error.. in the test case

What does it mean? The test case is not running. What’s the issue here: https://ide.codingblocks.com/s/607318

just store ur ans in an array/ vector and before printing sort it and then print

still its giving me a run error : https://ide.codingblocks.com/s/607393

okay… let me check…
why are u finding lca and all… i don’t understand what u are trying to do… refer to my code https://ide.codingblocks.com/s/607545

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.