张奕杨 • 1个月前
快谢谢我
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
cin>>a>>b;
switch(a-b){
case -1:
case 2:
cout<<"winner:1";break;
case 1:
case -2:
cout<<"winner:2";break;
}
return 0;
}
评论: