会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
蒋双隆
博客园
首页
新随笔
联系
订阅
管理
2017年7月30日
gcd(最大公约数)lcm(最小公倍数)E - Wolf and Rabbit
摘要: 1.gcd 递归实现 int gcd(int i,int j){ if(j==0) return i; else return gcd(j,i%j);} 2、lcm int gcd(int i,int j){if(j==0) return i;else return gcd(j,i%j);} int
阅读全文
posted @ 2017-07-30 19:50 白泽霜
阅读(159)
评论(0)
推荐(0)
编辑
公告