problem: https://hack.codingblocks.com/app/contests/2022/459/problem
sol: https://ide.codingblocks.com/s/418705
although it is not working this is what I have thought and implemented:
calculate sum or right subtree and root and substitute the value of root->left with it
root = sum of right subtree
root -> right = sum of it’s right subtree
please guide where this is wrong
