0_0_33536589_12911.cpp: In function 'int main()': 0_0_33536589_12911.cpp:34:41: error: 'd' was not declared in this scope for(int i=1;i<=n;++i) ans=(ans*1112ll+d[i])%mod; ^