結果
問題 | No.2516 Credit Creation |
ユーザー |
|
提出日時 | 2023-10-27 21:33:55 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 235 bytes |
コンパイル時間 | 289 ms |
コンパイル使用メモリ | 82,004 KB |
実行使用メモリ | 53,368 KB |
最終ジャッジ日時 | 2024-09-25 13:38:09 |
合計ジャッジ時間 | 1,408 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
def ip():return int(input())def mp():return map(int, input().split())def lmp():return list(map(int, input().split()))N = ip()R = float(input())ans = 100now = 100for i in range(1, N):now = (1-R)*nowans += nowprint(ans)