結果
| 問題 |
No.105 arcの六角ボルト
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-12-16 23:44:03 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 299 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,912 KB |
| 最終ジャッジ日時 | 2024-06-11 22:03:22 |
| 合計ジャッジ時間 | 876 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
import math
n = int(raw_input())
for loop in range(n):
raw_input()
XY = [map(float,raw_input().split()) for _ in range(6)]
XY = [[x,y] for x,y in XY if y >= 0]
XY = sorted(XY,reverse = True)
x,y = XY[0]
print math.acos((2.0-((1.0-x)**2+(0.0-y)**2))/2.0)*180/math.pi