信息
- ID
- 603
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 10
- 标签
- 递交数
- 2
- 已通过
- 1
- 上传者
#include<bits/stdc++.h>
using namespace std;
int main() {
int n,m;
cin>>n>>m;
if(n==0) {
cout<<"no"<<endl;
}else if(n%(m+1)==1) {
cout<<"no"<<endl;
} else {
cout<<"yes"<<endl;
}
return 0;
}
点赞!!!!!!!!!!!!!