0_0_36785203_25675.cpp: In function 'int main()':
0_0_36785203_25675.cpp:35:18: error: invalid types 'long long int[int]' for array subscript
ans[i]=ans[i-1];
^
0_0_36785203_25675.cpp:35:27: error: invalid types 'long long int[int]' for array subscript
ans[i]=ans[i-1];
^
0_0_36785203_25675.cpp:37:22: error: invalid types 'long long int[int]' for array subscript
ans[i]++;
^
0_0_36785203_25675.cpp:43:30: error: invalid types 'long long int[int]' for array subscript
printf("%lld\n",ans[n]);
^
|