0_0_13065555_31920.cpp: In function 'int main()': 0_0_13065555_31920.cpp:20:32: error: 'log10' was not declared in this scope s += log10(i*1.0); ^