結果
| 問題 |
No.3180 angles sum
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-13 22:31:02 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 426 bytes |
| コンパイル時間 | 330 ms |
| コンパイル使用メモリ | 82,632 KB |
| 実行使用メモリ | 77,820 KB |
| 最終ジャッジ日時 | 2025-06-13 22:31:12 |
| 合計ジャッジ時間 | 9,605 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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 ((f*a < e*b) or (f*c < e*d)) and e > 0 and f > 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")