結果
問題 | No.2516 Credit Creation |
ユーザー | Carpenters-Cat |
提出日時 | 2023-10-27 22:04:44 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 123 bytes |
コンパイル時間 | 271 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-25 14:10:37 |
合計ジャッジ時間 | 1,156 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
N = int(input()) R = float(input()) R = 1 - R ans = (1.00 - pow(R, N)) / (1.00 - R) ans *= 100 print("{:.20f}".format(ans))