Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
105097 | 伍长辉 | 判断三角形形状 | Python3 | Compile Error | 0 MS | 0 KB | 251 | 2025-01-12 14:24:24 |
n=int(input('')) for i in range(n): a,b,c=input(),split() a,b,c=int(a),int(b),int(c) if a*a+b*b==c*c or b*b+c*c==a*a or a*a+c*c==b*b: print('good') elif a==b or a==c or b==c: print('perfect') else: print('just a triangle')
Sorry: TabError: inconsistent use of tabs and spaces in indentation (Main.py, line 6)