Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
47467 陈宣霖 符合条件的数 Python3 Accepted 31 MS 3752 KB 220 2023-04-30 15:12:37

Tests(2/2):


Code:

a,b,c=map(int,input().split()) n=1 m=1 while True: if m==11: break if n%a==1 and n%b==1 and n%c==1: print(n,end="") if m!=10: print(" ",end="") m+=1 n+=1