0_0_18170604_3484.cpp: In function 'void hzwer::work()': 0_0_18170604_3484.cpp:122:25: error: 'flag' was not declared in this scope for(int k=0;k<=2 && !flag;++k) ^