4 条题解

  • 1
    @ 2026-6-6 14:55:19

    雄帝门,正确题解来了 #include<bits/stdc++.h> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; if(y%x==0) { if(n-(y/x)<0) { cout<<0; } else cout<<n-(y/x); } else {

    	if(n-(y/x+1)<0)
    	{
    		cout<<0;	
    	}
    	else cout<<n-(y/x+1);
    }
    return 0;
    

    }

    • 1
      @ 2026-6-6 14:16:56

      • 1
        @ 2026-5-30 15:10:10

        太难了吧,劳资不做了

        • 1
          @ 2025-7-25 9:46:58

          //SHIT

          • 1

          信息

          ID
          120
          时间
          1000ms
          内存
          256MiB
          难度
          6
          标签
          递交数
          128
          已通过
          39
          上传者