0_0_14461421_4667.cpp: In function 'int main()': 0_0_14461421_4667.cpp:59:9: error: 'ans2' was not declared in this scope ans2=0; ^ 0_0_14461421_4667.cpp:64:9: error: 'else' without a previous 'if' else printf("%d %d\n", ans, ans2); ^