結果

問題 No.105 arcの六角ボルト
ユーザー mkawa2mkawa2
提出日時 2019-12-21 11:53:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 631 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,748 KB
実行使用メモリ 7,912 KB
最終ジャッジ日時 2023-09-26 10:28:50
合計ジャッジ時間 1,049 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import math

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LF(): return list(map(float, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    n=int(input())
    for _ in range(n):
        input()
        xy=[LF() for _ in range(6)]
        for x,y in xy:
            rad=math.atan2(y,x)
            if 0<=rad<math.pi/3:
                print(math.degrees(rad))
                break

main()
0