CODING FOR FUN -EDITORIAL

Problem link: CodeChef: Practical coding for everyone
Setter:Ankur Pandey
Tester:Ankur Pandey

Difficulty:
Cake Walk
Problem:…
Explanation: Distribution of chocolates will be done only when this condition is satisfied R%M==0.
#include <bits/stdc++.h>
using namespace std;
int main()
{
long long int m,r;

cin>>m>>r;

 if(r%m==0)

{

    cout<<"Yes"<<endl;

}
else

{

    cout<<"No"<<endl;

}        

return 0;
}