結果
| 問題 | No.3180 angles sum |
| コンテスト | |
| ユーザー |
catupper
|
| 提出日時 | 2025-06-14 16:06:56 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 352 ms / 2,000 ms |
| + 180µs | |
| コード長 | 234 bytes |
| 記録 | |
| コンパイル時間 | 255 ms |
| コンパイル使用メモリ | 96,236 KB |
| 実行使用メモリ | 84,896 KB |
| 最終ジャッジ日時 | 2026-07-12 06:21:36 |
| 合計ジャッジ時間 | 7,752 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 |
ソースコード
def solve():
ax,ay,bx,by,cx,cy = map(int,input().split())
x = ax * bx - ay * by
y = ax *by + ay * bx
if x * cy == y * cx and cx * x >= 0:
print("Yes")
else:
print("No")
T = int(input())
for _ in range(T):
solve()
catupper