This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#include<bits/stdc++.h>
usingnamespacestd;
//此题只需分析一下,就知道uim只要走到第1行第2格、第2行第1、3格,第3行第2格就必输。
inti,cou;
chara[10];//所有的棋子
intmain(){
ios::sync_with_stdio(false);//读入输出优化的强迫症
for(i=1;i<=9;i++){
cin>>a[i];
if(a[i]!='-')cou++;//棋子数
}
if(a[2]=='X'||a[4]=='X'||a[6]=='X'||a[8]=='X')cout<<"xiaoa will win."<<endl;//暴力判断