Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
74615 | 吴梓玄 | 猜数字 | Python3 | Accepted | 127 MS | 3768 KB | 259 | 2024-05-25 16:36:37 |
n=int(input()) for x in range(n): a, b, c = map(int, input().split()) for y in range(1000,10000): if y%a==0 and (y+1)%b==0 and (y+2)%c==0 and 1000<=y<=9999: print(y) break else: print('Impossible')