結果
| 問題 |
No.3180 angles sum
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-13 22:23:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 420 bytes |
| コンパイル時間 | 162 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2025-06-13 22:23:36 |
| 合計ジャッジ時間 | 26,629 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 WA * 1 TLE * 9 |
ソースコード
t = int(input())
for _ in range(t):
a,b,c,d,e,f = map(int,input().split())
if (a == e and b == f) or (e == c and f == d):
print("No")
continue
if a*a*(c*c+d*d)*(e*e+f*f) == (c*e+d*f)*(c*e+d*f)*(a*a+b*b):
print("Yes")
else:
a,b,c,d = c,d,a,b
if a*a*(c*c+d*d)*(e*e+f*f) == (c*e+d*f)*(c*e+d*f)*(a*a+b*b):
print("Yes")
else:
print("No")