0_0_38312471_18185.cpp: In function 'int main()': 0_0_38312471_18185.cpp:38:38: error: 'phi' was not declared in this scope ans = (ans + ksm(m, i) * phi(n / i)) % mod; ^