没数据。
#include<bits/stdc++.h> #define int long long #define INF 0x3f3f3f using namespace std; int n,x,y; signed main(){ cin>>n>>x>>y; if(y%x==0)cout<<n-y/x; else cout<<n-y/x-1; return 0; }
Python :
# coding=utf-8 a,b,c=map(int,input().split()) d=float(c)/b if(int(d)!=d): d=int(d)+1 print(a-d)
注册一个 Hydro 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 Hydro 通用账户