What is the issue with my code?

https://ide.codingblocks.com/s/208739 I get an error when i try to print the vector. (I have made this code for right view)

@tusharnitharwal
In line 64
Do this
void bottom(node* root,vector<vector> &v,int hd)
Use reference variable