結果

問題 No.105 arcの六角ボルト
ユーザー ntuda
提出日時 2025-02-01 15:58:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 201 ms / 5,000 ms
コード長 287 bytes
コンパイル時間 477 ms
コンパイル使用メモリ 82,664 KB
実行使用メモリ 77,488 KB
最終ジャッジ日時 2025-02-01 15:58:55
合計ジャッジ時間 1,727 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import atan, pi
for q in range(int(input())):
    dum = input()
    d = 90
    for i in range(6):
        x,y = map(float,input().split())
        if x >= 0 and y >= 0:
            d = min(d,atan(y/x) * 180 / pi)
    if d > 55:
        d -= 60
    print('{:.10f}'.format(d))


0