#include<stdio.h> int a,b;

#include<stdio.h>

int a,b;

int work(int a,int b){

	if (a%b)

	return work(b,a%b);

	return b;

}

int main()
{

	scanf("%d%d",&a,&b);

	printf("%d\n",work(a,b));

	return 0;

}

输入:20 12

输出:_____

答案
第1空:4

题目信息

题号:6529
题型:填空题
知识点:NOIP真题
难度:普通