4 条题解

  • 1
    @ 2023-10-14 11:07:54

    我才是最少

    #include <iostream>
    using namespace std;
    int main()
    {
        int n;
        cin >> n;
        cout << ((n == 2 || n == 4 || n == 7) ? "meike" : "youke");
        return 0;
    }
    
    • 1
      @ 2023-10-13 0:07:26

      反其道而行之

      #include<bits/stdc++.h>
      using namespace std;
      int n;
      int main()
      {
          cin>>n;
          if(n!=2&&n!=4&&n!=7)
          {
              cout<<"youke";
          }
          else
          {
              cout<<"meike";
          }
          return 0;
      }
      
      • @ 2023-10-13 0:08:05

        比你们写的少哦

      • @ 2023-10-14 11:08:16

        @

        这才是

        #include <iostream>
        using namespace std;
        int main()
        {
            int n;
            cin >> n;
            cout << ((n == 2 || n == 4 || n == 7) ? "meike" : "youke");
            return 0;
        }
        
    • 1
      @ 2022-12-12 20:23:51
      #include <iostream>
      using namespace std;
      int main()
      {
      	int n;
      	cin >> n;
      	if (n == 1 || n == 3 || n == 5 || n == 6)
          {
      		cout << "youke";
      	}
          else
          {
      		cout << "meike";
      	}
          return 0;
      }
      
      • 0
        @ 2023-4-6 21:48:56
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
            int x;
            cin>>x;
            if (x==1||x==3||x==5||x==6)
                cout<<"youke";
            else
                cout<<"meike";
            return 0;
        }
        • 1

        信息

        ID
        657
        时间
        1000ms
        内存
        16MiB
        难度
        3
        标签
        递交数
        262
        已通过
        136
        上传者