0_0_33905160_11079.cpp: In function 'int main()':
0_0_33905160_11079.cpp:16:8: error: invalid types 'int[int]' for array subscript
t[n+1] = '0';
^
0_0_33905160_11079.cpp:19:24: error: invalid types 'int[int]' for array subscript
pt[i] = pt[i-1]+(t[i] == '1');
^
0_0_33905160_11079.cpp:24:30: error: invalid types 'int[int]' for array subscript
sf[i] = sf[i+1]+(s[i]!=t[i]);
^
0_0_33905160_11079.cpp:28:34: error: invalid types 'int[int]' for array subscript
int tmp = (s[i+1]=='1')+(t[i+1]=='0'); //
^
|