0_0_29601793_3498.cpp: In function 'int main()': 0_0_29601793_3498.cpp:32:42: error: 'su' was not declared in this scope if (Tree[i] == -1 && sum[i] > ans) ans = su } ^ 0_0_29601793_3498.cpp:35:9: error: expected '}' at end of input return 0; ^