Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
128174 6倪葭轩 勾股数 Python3 Compile Error 0 MS 0 KB 261 2025-08-07 17:17:54

Tests(0/0):


Code:

d =[] t = 0 for a in range(1, 100): for b in range(a + 1, 100): e = a * a + b * b c = int(e ** 0.5) if c <= 100 and c * c == e: d.append((a, b, c)) t =1+1 print(f"{a} {b} {c}") print(t)


Run Info:

  File "Main.py", line 10
    print(f"{a} {b} {c}")
                       ^
SyntaxError: invalid syntax