@[yaokuangda](/user/1037170)
第二组循环
```
for(int i=0;i<N;i++){
for(int j=0;j<25;j++){
if(loc[i][j]=='W'){
a++;
}else if(loc[i][j]=='L'){
b++;
}else if(loc[i][j]=='E'){
cout<<a<<":"<<b<<endl;
swi = true;
break;
}
if((a>=11||b>=11)&&abs(a-b)>=2){
cout<<a<<":"<<b<<endl;
a=0,b=0;
}
}
if(swi) break;
}
```
里面``if(swi)break;``会使得后面根本无法处理
by smll_wlm @ 2024-02-23 08:29:09
@[smll_wlm](/user/748520) 哦哦,对的,过了,谢谢!☺️
by yaokuangda @ 2024-02-23 16:20:01