Skip to content

Instantly share code, notes, and snippets.

@ik11235

ik11235/a.cpp

Created Dec 6, 2014
Embed
What would you like to do?
#include<algorithm>
#include<iostream>
using namespace std;
int main()
{
int m,d;
cin>>m>>d;
if(m%d)
cout<<"NO"<<endl;
else
cout<<"YES"<<endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment