Vertical order print binary tree

https://ide.codingblocks.com/s/50894
whats the error it does not pass the sample test case.
question:https://hack.codingblocks.com/contests/c/511/961

please tell where i am going wrong