摘要: 给定n对正整数a,b请你求出每对数的最大公约数。 #include<bits/stdc++.h> using namespace std; int a,b; inline int gcd(int x,int y) { if(!y)return x; else return gcd(y,x%y); } 阅读全文
posted @ 2020-12-28 19:00 君与 阅读(57) 评论(0) 推荐(0) 编辑