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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined
    ⁡
    时间刺客空间掌握者模拟·模拟练习生枚举·枚举小能手字符串·魔法使递归·套娃学徒
    45阅读
    4回复
    1点赞
  • AC

    #include<iostream> using namespace std; int main(){ int n,m; cin>>n>>m; for(int i=n;i>=1;i--){ if(n%i0 and m%i0){ cout<<i<<endl; } } return 0; }

    userId_undefined
    乐乐(互赞)赞我就赞你
    时间刺客空间掌握者9月全勤卷王小有名气枚举·枚举小能手字符串·魔法使
    15阅读
    0回复
    0点赞
暂无数据

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

首页