結果

問題 No.3180 angles sum
ユーザー Kude
提出日時 2025-06-13 23:51:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 592 ms / 2,000 ms
コード長 206 bytes
コンパイル時間 270 ms
コンパイル使用メモリ 82,100 KB
実行使用メモリ 77,612 KB
最終ジャッジ日時 2025-06-14 01:44:29
合計ジャッジ時間 9,391 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
    a, b, c, d, e, f = map(int, input().split())
    x, y = a * c - b * d, a * d + b * c
    x, y = x * e + y * f, -x * f + y * e
    print('Yes' if x > 0 and y == 0 else 'No')
0