題組內容

二、試算出下列含程式片段之時間複雜度。

⑵(10 分) function Euclid (m, n) while m > 0 do begin t = n mod m; n = m; m = t; end return n