2 条题解

  • 0
    @ 2023-8-2 12:09:24

    luogu#P5709的题解

    • 0
      @ 2023-8-2 12:07:33

      #include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(b==0) { cout<<0; exit(0);

      } else { if(c/b>a)cout<<0; else if(c%b!=0)cout<<a-(c/b+1); else cout<<a-c/b;

      }return 0;}

      • 1

      信息

      ID
      1123
      时间
      1000ms
      内存
      256MiB
      难度
      3
      标签
      (无)
      递交数
      34
      已通过
      20
      上传者