0_0_37412378_6983.cpp: In function 'int main()': 0_0_37412378_6983.cpp:36:28: error: 'n' was not declared in this scope printf("%lld\n", 3 * inv[n] * pfx[n] % mod); ^