20pts,help
查看原帖
20pts,help
877497
JFY_2208楼主2023/5/29 21:45
#include<bits/stdc++.h>
using namespace std;
int main(){
    int n,k,s=0;
    cin>>n>>k;
    s=n;
    if(s>=k)
    {
        s-=k;
        s++;
        n++;
    }
    cout<<n;
    return 0;
}

?????

2023/5/29 21:45
加载中...