5 solutions

  • 1
    @ 2025-9-14 16:11:12

    #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; if(a%b0||b%a0)cout<<"yes"; else cout<<"no"; return 0; }

    • 1
      @ 2025-7-4 10:40:38

      题解

      • 1
        @ 2025-7-4 10:40:06
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
            int a,b;
            cin>>a>>b;
            if(a%b==0||b%a==0) cout<<"yes";
            else cout<<"no";
            return 0;
        }
        
        • 1
          @ 2024-8-22 15:50:48

          cout"记得好评";

          • 0
            @ 2024-8-22 15:49:57

            #include<bits/stdc++.h> using namespace std; int main() { int a,b; cin>>a>>b; if(a % b == 0 || b % a == 0) { cout<<"yes"; } else { cout<<"no"; } return 0; }

            • 1

            Information

            ID
            23
            Time
            1000ms
            Memory
            256MiB
            Difficulty
            1
            Tags
            (None)
            # Submissions
            156
            Accepted
            83
            Uploaded By