python错误求解
查看原帖
python错误求解
1435101
zhin250楼主2024/9/1 13:29

第二个错误

import math
T=int(input())
while T!=0:
    op=input()
    x,y=map(int,op.split())
    b=(math.lcm(x,y)/math.gcd(x,y))
    print(1,int(b),end=" ")
    print()
    T=T-1

2024/9/1 13:29
加载中...