結果
問題 | No.553 AlphaCoder Rating |
ユーザー |
|
提出日時 | 2023-06-13 20:58:44 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 1,500 ms |
コード長 | 369 bytes |
コンパイル時間 | 362 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 54,256 KB |
最終ジャッジ日時 | 2024-06-22 07:08:33 |
合計ジャッジ時間 | 1,517 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
import math N = int(input()) F = lambda n: math.sqrt(sum([0.81 ** i for i in range(1, n + 1)])) / sum([0.9 ** i for i in range(1, n + 1)]) g = lambda x: 2 ** (x / 800) print(int(800 * math.log((sum([g(int(input())) * (0.9 ** i) for i in range(1, N + 1)]) / sum([0.9 ** i for i in range(1, N + 1)])), 2) - (F(N) - 1 / math.sqrt(19)) / (F(1) - 1 / math.sqrt(19)) * 1200))