/in/foo.cc: In function 'int InterSet(int*, int, int*, int, int*)':
/in/foo.cc:28:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(k1=-1 && k2==-1)
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:48:9: error: redeclaration of 'int c [10000]'
int c[N], ne;
^
/in/foo.cc:46:6: note: 'int c [10000]' previously declared here
int c[N], nc;
^
/in/foo.cc:49:26: error: 'r' was not declared in this scope
ne=InterSet(a,n, b,g, r);
^
/in/foo.cc:51:9: error: 'e' was not declared in this scope
Output(e, ne);
^