結果
問題 |
No.3180 angles sum
|
ユーザー |
|
提出日時 | 2025-06-13 21:33:50 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 580 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 82,172 KB |
実行使用メモリ | 90,680 KB |
最終ジャッジ日時 | 2025-06-14 01:22:41 |
合計ジャッジ時間 | 6,025 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 13 WA * 1 |
ソースコード
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()) at = math.atan2(ay,ax) bt = math.atan2(by,bx) ct = math.atan2(cy,cx) #print(at+bt,ct) print('Yes' if abs(at+bt-ct) < 1e-9 else 'No') for i in range(int(input())):solve()