5 条题解

  • 0
    @ 2026-10-23 20:52:04

    #include<bits/stdc++.h> using namespace std; int main(){ int n,y,x; cin>>n>>x>>y; if(y%x==0){ cout<<n-y/x<<endl; } else{ cout<<n-y/x-1<<endl; } return 0; }

    信息

    ID
    293
    时间
    1000ms
    内存
    256MiB
    难度
    2
    标签
    递交数
    54
    已通过
    20
    上传者