結果

問題 No.3180 angles sum
ユーザー 矢澤式WINTER
提出日時 2025-06-13 22:29:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 404 bytes
コンパイル時間 377 ms
コンパイル使用メモリ 82,624 KB
実行使用メモリ 77,660 KB
最終ジャッジ日時 2025-06-13 22:29:38
合計ジャッジ時間 9,416 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 12 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

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):
        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")
0