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