0_0_28589940_13119.cpp: In function 'void upd(ll, ll, ll, ll, ll)': 0_0_28589940_13119.cpp:12:22: error: 'a' was not declared in this scope t[rt]=(t[rt]+a[p]*val%mod)%mod; ^