結果

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

ソースコード

diff #

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import math

def main():
    [d, p] = [int(i) for i in input().split(" ")]
    tax = d * (p / 100)
    price = math.floor(d + tax)
    print(price)
    
if __name__ == '__main__':
    main()
0