結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-12-28 13:32:59 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 234 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 11,520 KB |
| 最終ジャッジ日時 | 2026-09-28 15:51:46 |
| 合計ジャッジ時間 | 2,324 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 17 WA * 6 |
ソースコード
import math
import decimal
def main():
d, p = map(int, input().split())
tax = decimal.Decimal(str(1 + (p / 100)))
price = decimal.Decimal(str(d * tax))
print(math.floor(price))
if __name__ == '__main__':
main()