acgo题库
  • 首页
  • 题库
  • 学习
  • 天梯
  • 备赛

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 竞赛
  • 讨论
  • 团队
登录
注册
题目详情提交记录(0)
  • 是爱坤点赞

    #include <iostream> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; if(y%x!=0){ cout<<n-y/x-1; }else if(n-y/x<=0){ cout<<"0"; }else{ cout<<n-y/x; } return 0; }

    userId_undefined

    150****9508

    0阅读
    0回复
    0点赞

共61条

  • 1
  • 2
  • 3
  • 4
20条/页
跳至页
暂无数据

提交答案之后,这里将显示提交结果~

首页