結果

問題 No.105 arcの六角ボルト
ユーザー threepipes_sthreepipes_s
提出日時 2016-01-03 02:50:31
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 11,912 KB
実行使用メモリ 10,500 KB
最終ジャッジ日時 2023-10-19 14:34:12
合計ジャッジ時間 998 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

from math import *
eps = 1e-12
for i in range(int(input())):
    input()
    pos = [tuple(map(float, input().split())) for i in range(6)]
    for p in pos:
        (x, y) = p
        if x==0: continue
        d = degrees(atan(y/x))
        if(d<=eps+50 and d>=0):
            print("%.12f" % d)
            break
0