Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
128123 | 杨嘉陆 | 猜数字 | Python3 | Accepted | 173 MS | 3760 KB | 276 | 2025-08-02 14:34:15 |
t = int(input()) for _ in range(t): a,b,c = input().split() a,b,c = int(a),int(b),int(c) 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")