a,b,c = map(int,input().split())
it=[]
for n in range(10,101):
if n%3 == a and n%5 == b and n%7 == c:
it.append(n)
print(min(it))
else:
print("no answer")
算法竞赛入门经典(python实现)——韩信点兵
最新推荐文章于 2024-03-31 16:04:41 发布