結果

問題 No.3180 angles sum
ユーザー prin_kemkem
提出日時 2025-06-13 21:56:45
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 841 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 82,640 KB
実行使用メモリ 82,416 KB
最終ジャッジ日時 2025-06-14 01:41:44
合計ジャッジ時間 5,325 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 16 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict, deque, Counter
from functools import cache
# import copy
from itertools import combinations, permutations, product, accumulate, groupby, chain
# from more_itertools import distinct_permutations
from heapq import heapify, heappop, heappush, heappushpop
import math
import bisect
from pprint import pprint
from random import randint, shuffle, randrange
# from sortedcontainers import SortedSet, SortedList, SortedDict
import sys
sys.setrecursionlimit(5000)
input = lambda: sys.stdin.readline().rstrip('\n')
inf = float('inf')
mod1 = 10**9+7
mod2 = 998244353
def ceil_div(x, y): return -(-x//y)

#################################################   

N = int(input())
for _ in range(N):
    x1, y1, x2, y2, x3, y3 = map(int, input().split())
    print('Yes' if y3*(x1*x2-y1*y2) == x3*(x1*y2+x2*y1) else 'No')
0