0_0_24849516_14330.cpp: In function 'int main()': 0_0_24849516_14330.cpp:18:4: error: 'else' without a previous 'if' else printf("%d %d\n",n,ans); ^