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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 竞赛
  • 讨论
  • 团队
  • 商城
登录
注册
题目详情提交记录(0)
  • 题解

    #include<iostream> using namespace std; int main(){ int n; int x; int 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
    LELECHA
    1阅读
    0回复
    0点赞
  • 题解哦c+if else

    #include<iostream> using namespace std; int main(){ int n; int x; int 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
    你还好吗
    0阅读
    0回复
    0点赞
  • 解题来啦!

    #include<iostream> using namespace std; int main(){ int n; int x; int 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
    G T Y ❀
    I/O·IO入门者分支·分支解题者循环·循环打卡人
    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined
    zsy
    题解仙人时空双修者快乐小狗BUG超度大师秩序白银
    0阅读
    0回复
    0点赞
  • 题解

    userId_undefined
    ???
    题解仙人字符串·魔法使时空双修者出道萌新GESP3级模拟·模拟练习生
    0阅读
    0回复
    0点赞

共65条

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

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

首页