0_0_30034659_20017.cpp: In function 'void solve()': 0_0_30034659_20017.cpp:90:18: error: 'c' was not declared in this scope ans += p[c]*(3*i+3)%mod; ^