Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73887 杜昊诚 猜数字 Python3 Compile Error 0 MS 0 KB 234 2024-05-19 20:09:01

Tests(0/0):


Code:

c=int(input()) for i in range(c): a,b,c=map(int,input().split()) for x in range(1000,10000): if x%a==0 and (x+1)%b==0 and (x+2)%c==0 : print(x) break else print("Impossible")


Run Info:

  File "Main.py", line 8
    else
       ^
SyntaxError: invalid syntax