0_0_14851105_137.cpp: In function 'int main()':
0_0_14851105_137.cpp:54:17: error: 'ans1' was not declared in this scope
ans1[cnt++]=ans;
^
0_0_14851105_137.cpp:60:45: error: invalid types 'int[int]' for array subscript
for(j=0;j<q;j++) printf("%d\n",ans[j]);
^
|