結果
| 問題 | No.105 arcの六角ボルト |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-21 17:18:11 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 497 bytes |
| 記録 | |
| コンパイル時間 | 79 ms |
| コンパイル使用メモリ | 64,768 KB |
| 実行使用メモリ | 61,300 KB |
| 最終ジャッジ日時 | 2026-10-15 03:38:56 |
| 合計ジャッジ時間 | 1,387 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 1 |
ソースコード
from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline
def 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()