3 条题解

  • 1
    @ 2026-2-6 13:36:57
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	double a,b,c;
    	cin>>a>>b>>c;
    	double d=a-c/b;
    	if(d>=0) cout<<int(d);
    	else cout<<0;
    	return 0;
    }
    • 0
      @ 2025-10-26 18:03:46

      #include using namespace std; int main() { int a,b,c,d,e; cin>>a>>b>>c; d=c/b; if(c%b>0) { d++; } if(d<0) { d=0; } e=a-d; if(e<0) { e=0; }

      cout<<e;
      return 0;
      

      }

      • 0
        @ 2024-12-29 16:27:51
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
        	double a,b,c;
        	cin>>a>>b>>c;
        	double d=a-c/b;
        	cout<<int(d);
        	return 0;
        }
        • 1

        信息

        ID
        5
        时间
        1000ms
        内存
        256MiB
        难度
        8
        标签
        递交数
        74
        已通过
        11
        上传者