1 solutions

  • 0
    @ 2025-12-3 11:01:44

    C++ :

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

    Information

    ID
    794
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    5
    Tags
    (None)
    # Submissions
    21
    Accepted
    13
    Uploaded By