0_0_21048757_7410.cpp: In function 'int main()': 0_0_21048757_7410.cpp:14:20: error: 'f' was not declared in this scope ans = (ans + f(i, m)) % m; ^