結果
問題 | No.105 arcの六角ボルト |
ユーザー |
|
提出日時 | 2023-01-21 17:18:11 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 148 ms / 5,000 ms |
コード長 | 497 bytes |
コンパイル時間 | 206 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 77,696 KB |
最終ジャッジ日時 | 2024-06-24 00:32:16 |
合計ジャッジ時間 | 1,109 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
from collections import *from itertools import *from functools import *from heapq import *import sys,mathinput = sys.stdin.readlinedef answer():input()XY = [tuple(map(float,input().split())) for _ in range(6)]cand = []for x,y in XY:if (x>=0)&(y>=0):cand.append((x,y))cand.sort()x,y = cand[-1]tmp = math.degrees(math.atan2(y,x))if tmp >=50:print(0)else:print(tmp)for _ in range(int(input())):answer()