CODING FOR FUN -EDITORIAL

Problem link: https://www.codechef.com/CFUN2020/problems/CODSTAN4
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;
}