/in/foo.cc: In function 'int main()':
/in/foo.cc:27:15: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=0;i<n1,i++) cin>>a[i];
~^~~
/in/foo.cc:27:22: error: expected ';' before ')' token
for(int i=0;i<n1,i++) cin>>a[i];
^
/in/foo.cc:28:15: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=0;i<n2,i++) cin>>b[i];
~^~~
/in/foo.cc:28:22: error: expected ';' before ')' token
for(int i=0;i<n2,i++) cin>>b[i];
^
/in/foo.cc:25:6: warning: unused variable 'i' [-Wunused-variable]
int i,n1,n2; cin>>n1>>n2;
^