#include <stdio.h>
#include <stdlib.h>
{
int a,b,r;
scanf("%d%d",&a,&b);
while(b!=0)
{
r=a%b;
a=b;
b=r;
}
printf("%d\n",a);
return 0;
}
小写字母转换为大写字母
最新推荐文章于 2020-06-25 15:33:13 发布
#include <stdio.h>
#include <stdlib.h>
{
int a,b,r;
scanf("%d%d",&a,&b);
while(b!=0)
{
r=a%b;
a=b;
b=r;
}
printf("%d\n",a);
return 0;
}