0_0_25638284_32664.cpp:46:19: error: redefinition of 'long long int ans [100050]' long long ans[maxn]; ^ 0_0_25638284_32664.cpp:10:31: note: 'long long int ans [100050]' previously declared here long long fac[maxn],inv[maxn],ans[maxn]; ^