0_0_35729731_29826.cpp: In function 'int main()':
0_0_35729731_29826.cpp:8:9: error: conflicting declaration 'int b'
int b, c;
^
0_0_35729731_29826.cpp:7:16: note: previous declaration as 'char b [1010]'
char a[N], b[N];
^
0_0_35729731_29826.cpp:14:34: error: invalid operands of types 'int' and 'char [1010]' to binary 'operator*'
sum += (a[i] - 48) * b;
^
|