0_0_33584257_10093.cpp: In function 'int main()': 0_0_33584257_10093.cpp:65:6: error: 'b' was not declared in this scope ans+=b[i].b-b[fa[i]].b; ^