1 ///水题 2 #include <bits/stdc++.h> 3 using namespace std; 4 int main() 5 { 6 int n,m; 7 scanf("%d%d",&n,&m); 8 if(m%n==0) 9 printf("YES "); 10 else 11 printf("NO "); 12 }
1 ///水题 2 #include <bits/stdc++.h> 3 using namespace std; 4 int main() 5 { 6 int n,m; 7 scanf("%d%d",&n,&m); 8 if(m%n==0) 9 printf("YES "); 10 else 11 printf("NO "); 12 }