結果

問題 No.56 消費税
ユーザー mahiro
提出日時 2020-01-11 17:59:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 105 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 82,116 KB
実行使用メモリ 80,448 KB
最終ジャッジ日時 2024-11-25 05:54:12
合計ジャッジ時間 3,960 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal

price, tax_rate = [decimal.Decimal(i) for i in input().split()]
ans = int(price * (decimal.Decimal(1) + tax_rate * decimal.Decimal(0.01)))
print(ans)
0