0_0_29819020_9033.cpp: In function 'int main()': 0_0_29819020_9033.cpp:77:36: error: 'solve' was not declared in this scope printf("%I64d\n", solve(n,m)%m); ^