1 条题解

  • 0
    @ 2026-4-5 20:12:09

    C++ :

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

    信息

    ID
    600
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者