Where have I made mistake?

Can anyone point out my mistake? I am getting WA for first test case of the sample test cases. I think something is wrong with my creation of the tree.


My code

admin to
kesehatan alami


@bangga Did u create the profile only to promote your link as you haven’t made any submissions to any problem at all

@dragonemperor , yes he did. He has currently posted 7 posts on Discuss, and all 7 are spam. Because of that , I ran out of flags for today flagging his posts. His only purpose is to promote that website.