0_0_18012677_5821.cpp:104:4: error: stray '\' in program printf("%.4lf\n",KM(k)*1.0\n); ^ 0_0_18012677_5821.cpp: In function 'int main()': 0_0_18012677_5821.cpp:104:31: error: expected ')' before 'n' printf("%.4lf\n",KM(k)*1.0\n); ^