1 条题解

  • 0
    @ 2026-1-24 11:09:35
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int n,x,y;
        cin>>n>>x>>y;
        int c=y/x;
        if(y%x==0)cout<<n-c;
        else cout<<n-c-1;
        return 0;
    }
    
    • 1

    信息

    ID
    5211
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    (无)
    递交数
    93
    已通过
    36
    上传者