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; }

    Information

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