#include <iostream> using n

#include <iostream>
using namespace std;
int a,b;
int work(int a,int b)
{
	if (a%b)
	return work(b,a%b);
	return b;
}
int main()
{
	cin >> a >> b;
	cout << work(a,b) << endl;
	return 0;
}

输入: 123 321 

输出: _________

答案
第1空:3

题目信息

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