0_0_17035644_25009.cpp: In function 'int main()': 0_0_17035644_25009.cpp:137:4: error: 'flag' was not declared in this scope flag[i] = 0; ^