0_0_35958960_28036.cpp: In function 'int main()': 0_0_35958960_28036.cpp:28:3: error: 'tmp' was not declared in this scope tmp = ask(q[i].x); ^