foo.cc:5:11: error: conflicting declaration 'int ans'
5 | int len=0,ans=0,j;
| ^~~
foo.cc:4:5: note: previous declaration as 'int ans [55]'
4 | int ans[55],ansb[55],c[55];
| ^~~
foo.cc: In function 'int main()':
foo.cc:12:13: error: 'i' was not declared in this scope
12 | for(i=0; i<la; i++)
| ^
foo.cc:14:13: error: 'i' was not declared in this scope
14 | for(i=0; i<la; i++)
| ^
foo.cc:16:13: error: 'i' was not declared in this scope
16 | for(i=la; i<lb; i++)
| ^
foo.cc:28:25: error: lvalue required as increment operand
28 | ans++;
| ^~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务