0_0_14730982_10674.cpp: In function 'int main()':
0_0_14730982_10674.cpp:19:18: error: invalid types 'int[int]' for array subscript
ans[i] += s[i];
^
0_0_14730982_10674.cpp:25:22: error: invalid types 'int[int]' for array subscript
cout << ans[m] - ans[n]<< endl;
^
0_0_14730982_10674.cpp:25:31: error: invalid types 'int[int]' for array subscript
cout << ans[m] - ans[n]<< endl;
^
|