結果

問題 No.105 arcの六角ボルト
ユーザー titia
提出日時 2022-01-19 04:11:07
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 195 ms / 5,000 ms
コード長 334 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-23 13:39:34
合計ジャッジ時間 1,037 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import atan2
from math import degrees

T=int(input())
for tests in range(T):
    _=input()

    X=[tuple(map(float,input().split())) for i in range(6)]

    Y=[]
    for x,y in X:
        Y.append(degrees(atan2(y,x)))

    #print(Y)
    ANS=50

    for y in Y:
        if -10**(-6)<=y<ANS:
            ANS=y

    print(ANS)
0