0_0_14191407_24807.cpp: In function 'int main()': 0_0_14191407_24807.cpp:33:24: error: 'k' was not declared in this scope if(!flag&&(k-2)%6==0) ^