Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
128119 | 6倪葭轩 | 猜数字 | Python3 | Accepted | 184 MS | 3764 KB | 289 | 2025-08-02 14:17:47 |
p=int(input()) for u in range(p): b,c,d=input().split() a=int(b) b=int(c) c=int(d) for x in range(1000,9999+1): if x % a == 0 and (x + 1) % b == 0 and (x + 2) % c == 0: print(x) break else: print('Impossible')