Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
38600 木木老师 符合条件的数 Python3 Accepted 35 MS 3780 KB 274 2022-09-14 15:46:53

Tests(2/2):


Code:

a,b,c = map(int,input().split()) i=1 j=0 l=[] while 1: if j==10: break if i%a==1 and i%b==1 and i%c==1: l.append(i) j=j+1 i=i+1 for o in range (10): if o==9: print(l[o]) else: print(l[o],end=" ")