python代码

Yumi0606 发表于 8个月前 · 关联问题 清扫房间

hours,start,cd=map(int,input().split()) a,b = hours,cd mod = 0 while a % b != 0:

mod = a % b a = b b = mod

if mod== 1:

print("Yes")

else:

print("No")