Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
76018 | 金浩 | 猜数字 | Python3 | Accepted | 123 MS | 3772 KB | 259 | 2024-06-01 14:30:06 |
n=int(input()) for i in range(n): a,b,c=map(int,input().split()) x=0 flag=False for i in range(1000,10000): if i%a==0 and (i+1)%b==0 and (i+2)%c==0: print(i) break else: print("Impossible")