0_0_38320149_18188.cpp: In function 'int main()': 0_0_38320149_18188.cpp:53:24: error: 'solve' was not declared in this scope cout << solve(m) - solve(n - 1) << endl; ^