1 条题解

  • 1
    @ 2025-4-9 12:58:50
    #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;
    }
    • @ 2025-4-9 12:59:28

      点赞!!!!!!!!!!!!!

  • 1

信息

ID
603
时间
1000ms
内存
256MiB
难度
10
标签
递交数
2
已通过
1
上传者