結果
| 問題 |
No.3180 angles sum
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-13 22:25:58 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 401 bytes |
| コンパイル時間 | 494 ms |
| コンパイル使用メモリ | 82,352 KB |
| 実行使用メモリ | 78,144 KB |
| 最終ジャッジ日時 | 2025-06-13 22:26:10 |
| 合計ジャッジ時間 | 11,238 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 12 WA * 1 |
ソースコード
t = int(input())
for _ in range(t):
a,b,c,d,e,f = map(int,input().split())
if (a>b and c>d and e < 0):
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")