@[threeex_xyu](/user/710862) 建议把8~15行改成: ```cpp if(temp[t]=='W')h++; else d++; f(h>=point||d>=point&&abs(h-d)>=2){ cout<<h<<':'<<d<<endl; h=0,d=0; } t++; 为什么要输出0:0? 请去题目里找 by Gary12345 @ 2023-11-25 17:29:53