0_0_24535675_25948.cpp: In function 'int main()': 0_0_24535675_25948.cpp:18:17: error: 'flag' was not declared in this scope flag=1; ^