Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70679 彭士宝 公约数问题 Python3 Wrong Answer 33 MS 3768 KB 151 2024-04-16 20:10:56

Tests(0/10):


Code:

a = int(input()) b = int(input()) x = max(a,b) while True: if x%a==0 and x%b==0: print(x) break else: x = x + 1


Run Info:

------Input------
7 7
------Answer-----
7
------Your output-----