1 #include<iostream>
 2 #include<cmath>
 3 using namespace std;
 4 int main()
 5 {
 6     int n,x,y,z;
 7     cin>>n>>x>>y;
 8     z=n-ceil(y*1.0/x);
 9     cout<<z;
10 
11     return 0;
12 }

请思考什么如上代码只能得9分,请作出改进后尝试AC?

相关文章:

  • 2022-01-10
  • 2021-08-04
  • 2018-03-22
  • 2022-12-23
  • 2021-11-28
  • 2021-08-21
  • 2021-09-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2020-06-12
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
相关资源
相似解决方案