2 条题解

  • 0
    @ 2025-1-4 11:21:11

    没数据。

    #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;
    }
    
    • 0
      @ 2024-12-22 11:03:57

      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)
      
      • 1

      信息

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