0_0_25857194_15818.cpp: In function 'int main()': 0_0_25857194_15818.cpp:50:33: error: 'g' was not declared in this scope tmp=tmp*inv[phi[x]]%p*x%p*mu[g/x]%p; ^