0_0_20989648_20058.cpp: In function 'int main()': 0_0_20989648_20058.cpp:27:27: error: 'aAns' was not declared in this scope ans[i][k][p+q]++,aAns[i][k][p+q]%=1000; ^