結果
問題 |
No.3180 angles sum
|
ユーザー |
|
提出日時 | 2025-06-13 22:23:39 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 420 bytes |
コンパイル時間 | 494 ms |
コンパイル使用メモリ | 82,700 KB |
実行使用メモリ | 77,936 KB |
最終ジャッジ日時 | 2025-06-13 22:23:50 |
合計ジャッジ時間 | 9,797 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 == 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")