4 solutions

  • 2
    @ 2024-8-22 15:50:48

    cout"记得好评";

    • 1
      @ 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; }

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

        题解

        • 0
          @ 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

          Information

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