public boolean Default(int w[][]){
int can=0;
for(int i=0;i<10;i++){
for(int y=0;y<10;y++){
int t=0;
int x=0;
for( x=0;x<4;x++){
int z=0;
for( z=0;z<4;z++){
if(w[x][z]*a[i+x][y+z]!=0) {x=4,z=4,t=1; }
}
}
if(t==0) {can=1,i=10,y=10;}
}
}
if(can==1) return false;
else return true;
}
为什么编译器对{x=4,z=4,t=1; }和{can=1,i=10,y=10;}一直报错