結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
kenta
|
| 提出日時 | 2021-10-22 17:10:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 325 bytes |
| コンパイル時間 | 307 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-22 20:37:57 |
| 合計ジャッジ時間 | 1,845 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 13 WA * 10 |
ソースコード
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 * (1 + tax_ratio*0.01)
price2 = math.floor(price1)
print(price2)
if __name__ == '__main__':
main()
kenta