結果

問題 No.553 AlphaCoder Rating
ユーザー dangodango
提出日時 2023-06-13 20:58:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 1,500 ms
コード長 369 bytes
コンパイル時間 498 ms
コンパイル使用メモリ 86,600 KB
実行使用メモリ 71,676 KB
最終ジャッジ日時 2023-09-04 07:52:36
合計ジャッジ時間 2,970 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,292 KB
testcase_01 AC 78 ms
71,496 KB
testcase_02 AC 78 ms
71,548 KB
testcase_03 AC 79 ms
71,556 KB
testcase_04 AC 78 ms
71,584 KB
testcase_05 AC 78 ms
71,648 KB
testcase_06 AC 78 ms
71,644 KB
testcase_07 AC 78 ms
71,544 KB
testcase_08 AC 78 ms
71,480 KB
testcase_09 AC 78 ms
71,592 KB
testcase_10 AC 78 ms
71,380 KB
testcase_11 AC 78 ms
71,216 KB
testcase_12 AC 79 ms
71,676 KB
testcase_13 AC 78 ms
71,320 KB
testcase_14 AC 78 ms
71,664 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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))
0