不是VIP会员,不能显示答案

题目解答

题目:
program exp2;
var a,b,f: integer;
function gd(m,n:integer):integer;
begin
if n=0 then gd:=m
else gd:=gd(n,m mod n);
end;
begin
readln(a,b);
write('(',a,',',b,')=');
f:=gd(a,b);
writeln(f)
end.
输入:172 16
输出:(172,16)=4
考点:
分析:
解答:
评论:
老师: