py20re 急急国王
查看原帖
py20re 急急国王
581345
Zpril_20211017楼主2023/2/5 10:40

code:

def gcd(a,b):
    if a % b == 0:
        return b
    return gcd(b,a % b)
a = int(input())
b = int(input())
print(gcd(a,b))

本地运行没有问题,但是lg上20re

2023/2/5 10:40
加载中...