結果
| 問題 | No.105 arcの六角ボルト |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-14 18:51:36 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 123 ms / 5,000 ms |
| + 77µs | |
| コード長 | 387 bytes |
| 記録 | |
| コンパイル時間 | 70 ms |
| コンパイル使用メモリ | 80,640 KB |
| 実行使用メモリ | 84,608 KB |
| 最終ジャッジ日時 | 2026-07-18 08:20:52 |
| 合計ジャッジ時間 | 1,432 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
#yuki_105
import math
eps=1.0e-10
t=int(raw_input())
sin50=math.sin(100.0*math.pi/360)
cos50=math.cos(100.0*math.pi/360)
for i in xrange(t):
dummy=raw_input()
for j in xrange(6):
a,b=map(float,raw_input().split())
if cos50<=a and a<=1.0+eps and 0.0-eps<=b and b<=sin50:
res=360.0*math.atan(b/a)/(2*math.pi)
if res<eps:
print "%.7f" % 0.0
else:
print "%.7f" % res