結果
| 問題 |
No.105 arcの六角ボルト
|
| コンテスト | |
| ユーザー |
maspy
|
| 提出日時 | 2020-02-05 21:58:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 551 ms / 5,000 ms |
| コード長 | 340 bytes |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 47,128 KB |
| 最終ジャッジ日時 | 2024-09-23 03:16:14 |
| 合計ジャッジ時間 | 2,546 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 |
ソースコード
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np
N = int(readline())
data = np.array(read().split(), np.float64)
X = data[::12]
Y = data[1::12]
answer = (np.arctan2(Y,X) / np.pi * 180) % 60
answer[answer > 50] = 0
print('\n'.join(answer.astype(str)))
maspy