0_0_14540322_26632.cpp: In function 'int main()': 0_0_14540322_26632.cpp:17:19: error: 'n' was not declared in this scope result += 1.0/f(n); ^