3 条题解

  • 1
    @ 2023-9-25 20:38:34
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a , c = 3 , v = 5;
        cin >> a;
        if (a % c == 0 && a % v != 0)
        {
            cout << "Yes";
        }
        else
        {
            cout << "No";
        }
        return 0;
    }//A
    
    • 0
      @ 2023-4-6 22:14:51
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int x;
          cin>>x;
          if (x%3==0&&x%5!=0)
              cout<<"Yes";
          else
              cout<<"No";
          return 0;
      }
      • 0
        @ 2022-12-11 16:23:03
        #include <bits/stdc++.h>
        using namespace std;
        int main()
        {
            int x;
            cin >> x;
            if (x % 3 == 0 && x % 5 != 0)
            {
                cout << "Yes";
            }
            else
            {
                cout << "No";
            }
            return 0;
        }
        
        • 1

        信息

        ID
        671
        时间
        1000ms
        内存
        16MiB
        难度
        1
        标签
        递交数
        97
        已通过
        76
        上传者