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