0_0_13910464_20431.cpp: In function 'int main()': 0_0_13910464_20431.cpp:21:9: error: 'flag' was not declared in this scope flag=1; ^