Main.cc: In function 'int main()':
Main.cc:11:9: error: 'a' was not declared in this scope
a[i]=-1;
^
Main.cc:20:16: error: 'a' was not declared in this scope
a[j]*=-1;//己的倍数 翻转
^
Main.cc:25:12: error: 'a' was not declared in this scope
if(a[i]==-1)
^
Main.cc:5:13: warning: unused variable 's' [-Wunused-variable]
int N,M,s=0,q=0;
^