結果

問題 No.56 消費税
ユーザー wata_pythonwata_python
提出日時 2019-08-14 21:09:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 151 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 11,796 KB
実行使用メモリ 10,228 KB
最終ジャッジ日時 2023-10-19 18:14:18
合計ジャッジ時間 1,786 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
10,228 KB
testcase_01 AC 29 ms
10,228 KB
testcase_02 AC 29 ms
10,228 KB
testcase_03 WA -
testcase_04 AC 28 ms
10,228 KB
testcase_05 AC 29 ms
10,228 KB
testcase_06 AC 29 ms
10,228 KB
testcase_07 AC 28 ms
10,228 KB
testcase_08 AC 29 ms
10,228 KB
testcase_09 AC 29 ms
10,228 KB
testcase_10 AC 29 ms
10,228 KB
testcase_11 AC 29 ms
10,228 KB
testcase_12 AC 30 ms
10,228 KB
testcase_13 AC 28 ms
10,228 KB
testcase_14 AC 30 ms
10,228 KB
testcase_15 AC 29 ms
10,228 KB
testcase_16 AC 28 ms
10,228 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
A = input()
A_split = A.split()
D = int(A_split[0]) # 元値
P = int(A_split[1])/100 # 消費税率
ans = math.floor(D * (1+P))

print(ans)
0