結果

問題 No.56 消費税
ユーザー 初見わこつです初見わこつです
提出日時 2015-09-12 18:40:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 28 ms / 5,000 ms
コード長 301 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-18 02:56:10
合計ジャッジ時間 1,511 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python3

# This problem is http://yukicoder.me/problems/111

first_line          = input()
cost_and_tax_rate   = list(map(int, first_line.split(' ')))
cost                = cost_and_tax_rate[0]
tax_rate            = cost_and_tax_rate[1]

tax = int(cost * tax_rate / 100)

print(cost + tax)
0