結果
問題 |
No.3180 angles sum
|
ユーザー |
|
提出日時 | 2025-06-13 22:46:02 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 720 bytes |
コンパイル時間 | 461 ms |
コンパイル使用メモリ | 82,188 KB |
実行使用メモリ | 77,880 KB |
最終ジャッジ日時 | 2025-06-13 22:46:12 |
合計ジャッジ時間 | 9,661 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 13 |
ソースコード
t=int(input()) for _ in range(t): ax, ay, bx, by, cx, cy=map(int, input().split()) bumbo=ax*bx*cx if ax>bx: ax, ay, bx, by=bx, by, ax, ay if bumbo==0: if ax==0: if bx==0: if cy==0: print('Yes\n') else: print("No\n") else: if by==0: if cx==0: print("Yes\n") else: print("No\n") else: if(by*cy==bx*cx): print("Yes\n") else: print("No\n") else: if ay*by==ax*bx: print("Yes\n") else: print("Noc\n") else: if ay*bx*cx+by*ax*cx==cy*(ax*bx-ay*by): print("Yes\n") else: print("No\n")