結果
| 問題 | No.3180 angles sum |
| ユーザー |
|
| 提出日時 | 2026-11-12 12:48:16 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 153 ms / 2,000 ms |
| + 190µs | |
| コード長 | 558 bytes |
| 記録 | |
| コンパイル時間 | 1,401 ms |
| コンパイル使用メモリ | 64,112 KB |
| 実行使用メモリ | 65,804 KB |
| 最終ジャッジ日時 | 2026-11-12 12:48:28 |
| 合計ジャッジ時間 | 8,778 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
input = sys.stdin.readline
#n = int(input())
#a = list(map(int,input().split()))
#a = []
#s = input()
#
#for i in range(n):
# a.append(list(map(int,input().split())))
def solve():
ax, ay, bx, by, cx, cy = map(int, input().split())
x = ax * bx - ay * by
y = ax * by + ay * bx
print('Yes' if x * cy == y * cx and x * cx + y * cy > 0 else 'No')
for i in range(int(input())):solve()