結果
| 問題 |
No.105 arcの六角ボルト
|
| コンテスト | |
| ユーザー |
threepipes_s
|
| 提出日時 | 2016-01-03 02:53:10 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 182 ms / 5,000 ms |
| コード長 | 316 bytes |
| コンパイル時間 | 113 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-09-19 10:42:35 |
| 合計ジャッジ時間 | 872 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
from math import *
eps = 1e-10
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>=-eps):
print("%.12f" % d)
break
threepipes_s