結果

問題 No.105 arcの六角ボルト
ユーザー 👑 rin204rin204
提出日時 2022-07-09 15:28:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 218 ms / 5,000 ms
コード長 266 bytes
コンパイル時間 286 ms
コンパイル使用メモリ 87,228 KB
実行使用メモリ 79,736 KB
最終ジャッジ日時 2023-08-29 22:36:50
合計ジャッジ時間 1,216 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

from math import atan2, degrees

def solve():
    input()
    for _ in range(6):
        x, y = map(float, input().split())
        tmp = degrees(atan2(y, x))
        if -1 <= tmp <= 51:
            ans = tmp
    print(ans)

for _ in range(int(input())):
    solve()
0