Structurally identical tree Getting run error

ques-https://hack.codingblocks.com/contests/c/588/474
code-https://ide.codingblocks.com/s/84513

Hi Lavish,
You must declare scanner variable as a global and static variable and also binary class should be inside the class binary tree.