結果

問題 No.56 消費税
ユーザー Addition_quince
提出日時 2016-12-15 15:18:54
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 5,000 ms
コード長 188 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-07-18 03:23:12
合計ジャッジ時間 1,677 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
from decimal import *

def main():
	D,P=map(Decimal,input().split())
	
	per=Decimal(1+(P/100))
	price=int(D*per)
	print(price)


if __name__ == "__main__":
	main()
0