会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ricardo-ting
博客园
首页
新随笔
联系
订阅
管理
2020年7月21日
辗转相除法,求证最小公因数
摘要: public class Demo6 { //辗转相除法 public static void main(String[] args) { System.out.println(gcd(15,20)); } public static int gcd(int a,int b){ if(b==0){
阅读全文
posted @ 2020-07-21 17:01 Ricardo-ting
阅读(149)
评论(0)
推荐(0)
公告