int main() {
int a = 18, b = 11;
while (a!=b)
{
while (a > b)a -= b;
while (b > a)b -= a;
}
printf("%d,%d", a, b);
}
03-22
2287
01-24
1万+
int main() {
int a = 18, b = 11;
while (a!=b)
{
while (a > b)a -= b;
while (b > a)b -= a;
}
printf("%d,%d", a, b);
}