0_0_39229429_6824.cpp: In function 'void solve()': 0_0_39229429_6824.cpp:19:43: error: 'z' was not declared in this scope 19 | cnt2[(j+a[i])%k]+=cnt1[j],val2[z]+=val1[(j+a[i])%k]+(j+a[i])/k*cnt1[j]; | ^