結果

問題 No.56 消費税
ユーザー onzuka_muscleonzuka_muscle
提出日時 2021-01-29 16:43:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 219 ms / 5,000 ms
コード長 140 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 89,244 KB
最終ジャッジ日時 2023-09-09 10:41:10
合計ジャッジ時間 7,648 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 204 ms
89,008 KB
testcase_01 AC 204 ms
89,020 KB
testcase_02 AC 208 ms
89,084 KB
testcase_03 AC 206 ms
89,104 KB
testcase_04 AC 210 ms
89,032 KB
testcase_05 AC 204 ms
88,844 KB
testcase_06 AC 210 ms
89,024 KB
testcase_07 AC 211 ms
89,168 KB
testcase_08 AC 206 ms
89,068 KB
testcase_09 AC 205 ms
89,148 KB
testcase_10 AC 219 ms
88,848 KB
testcase_11 AC 204 ms
89,048 KB
testcase_12 AC 202 ms
89,244 KB
testcase_13 AC 204 ms
89,120 KB
testcase_14 AC 209 ms
89,012 KB
testcase_15 AC 208 ms
89,032 KB
testcase_16 AC 208 ms
89,020 KB
testcase_17 AC 209 ms
88,896 KB
testcase_18 AC 209 ms
89,168 KB
testcase_19 AC 204 ms
89,052 KB
testcase_20 AC 206 ms
88,752 KB
testcase_21 AC 200 ms
89,136 KB
testcase_22 AC 209 ms
89,012 KB
testcase_23 AC 200 ms
89,024 KB
testcase_24 AC 205 ms
88,748 KB
testcase_25 AC 200 ms
88,844 KB
testcase_26 AC 202 ms
89,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
from decimal import Decimal

d,p = input().split()

d = Decimal(d)
p = Decimal(p)

ritu = 1 + round(p/100,2)

print(int(ritu*d))
0