3 条题解

  • 1
    @ 2024-11-30 10:54:22
    #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;
    }	
    
    • 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
        标签
        递交数
        57
        已通过
        7
        上传者