题库 信息学奥赛题库 题目列表 #include <iostream> using namespace std; in...
填空题

#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

输出:_________

题目信息
2009年 初赛
-
正确率
0
评论
50
点击