脑子有点秀逗
1 #include2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 int teama[120]={ 0}; 8 int teamb[120]={ 0}; 9 int main()10 {11 string away,home;12 cin>>home>>away;13 int n;14 cin>>n;15 for(int i=0;i >time>>peo>>nu>>ca;20 if(peo=="h"){21 if(ca=="r"&&teama[nu]!=-1){22 cout< <<" "< <<" "<