Error detection

prob: https://hack.codingblocks.com/app/contests/2022/1069/problem

output looks correct but not being accepted

Output Format
For each testcase , print the preorder traversal of the BST in a new line.

add cout<<endl; in line 62