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