結果

問題 No.56 消費税
ユーザー kenta
提出日時 2021-10-22 17:17:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 5,000 ms
コード長 318 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-22 20:43:08
合計ジャッジ時間 1,815 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

def main():
    price_tax_ratio = input()
    price_tax_ratio_list = price_tax_ratio.split(" ")
    price = int(price_tax_ratio_list[0])
    tax_ratio = int(price_tax_ratio_list[1])
    price1 = price * (100 + tax_ratio)
    price2 = price1 //100
    print(price2)


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