0_0_28577963_2667.cpp: In function 'int main()': 0_0_28577963_2667.cpp:14:16: error: 'f2' was not declared in this scope if (f1==1 && f2==1) printf("YES\n"); ^