TQC+ 程式語言Python 508 最大公因數 ... x % y) # 或者直接用math 套件的gcd 方法也行。 x, y = eval(input()) print(compute(x, y)) ...
確定! 回上一頁