結果
問題 |
No.2516 Credit Creation
|
ユーザー |
![]() |
提出日時 | 2023-10-27 21:58:25 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 123 ms / 2,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 148 ms |
コンパイル使用メモリ | 82,088 KB |
実行使用メモリ | 81,408 KB |
最終ジャッジ日時 | 2024-09-25 14:05:03 |
合計ジャッジ時間 | 2,415 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
import decimal N = int(input()) R = decimal.Decimal(input()) beef=decimal.Decimal('100') ans = 0 for _ in range(N): ans+=beef beef=beef*(1-R) print(ans)