8 条题解

  • 2
    @ 2023-12-27 13:03:35
    #include<bits/stdc++.h> 
    using namespace std; 
    int main() 
    { 
      int a,b;
      cin>>a>>b;
      if(a==1 && b==2 || a==2 && b==3 || a==3 && b==1)
      {
      	cout<<"win";
      }
      else if(a==b)
      {
      	cout<<"tie";
      }
      if(a==2 && b==1 || a==3 && b==2 || a==1 && b==3)
      {
      	cout<<"lose";
      }
      return 0; 
    }
    

    信息

    ID
    36
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    121
    已通过
    84
    上传者