0_0_20535956_28218.cpp:62:9: error: conflicting declaration 'int a [20]'
int a[20], b[20], T, s = 1;
^
0_0_20535956_28218.cpp:4:5: note: previous declaration as 'int a [1000]'
int a[1000],b[1000];
^
0_0_20535956_28218.cpp:62:16: error: conflicting declaration 'int b [20]'
int a[20], b[20], T, s = 1;
^
0_0_20535956_28218.cpp:4:13: note: previous declaration as 'int b [1000]'
int a[1000],b[1000];
^
0_0_20535956_28218.cpp:62:22: error: conflicting declaration 'int s'
int a[20], b[20], T, s = 1;
^
0_0_20535956_28218.cpp:5:5: note: previous declaration as 'int s [1000100]'
int s[1000100];
^
0_0_20535956_28218.cpp: In function 'int main()':
0_0_20535956_28218.cpp:64:5: error: redefinition of 'int main()'
int main() {
^
0_0_20535956_28218.cpp:7:5: note: 'int main()' previously defined here
int main()
^
0_0_20535956_28218.cpp:73:39: error: lvalue required as increment operand
printf("Case #%d: %d\n", s++, (ch[0] - '0' + dh[0] - '0') % 10);
^
0_0_20535956_28218.cpp:124:38: error: lvalue required as increment operand
printf("Case #%d: 0\n", s++);
^
0_0_20535956_28218.cpp:126:39: error: lvalue required as increment operand
printf("Case #%d: %s\n", s++, ans);
^
|