結果

問題 No.56 消費税
ユーザー clef_delphclef_delph
提出日時 2020-02-18 21:30:02
言語 PHP
(8.3.4)
結果
AC  
実行時間 44 ms / 5,000 ms
コード長 136 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 32,276 KB
実行使用メモリ 31,388 KB
最終ジャッジ日時 2024-04-16 04:15:38
合計ジャッジ時間 2,154 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
31,172 KB
testcase_01 AC 43 ms
31,040 KB
testcase_02 AC 41 ms
31,124 KB
testcase_03 AC 40 ms
31,136 KB
testcase_04 AC 40 ms
31,188 KB
testcase_05 AC 44 ms
30,816 KB
testcase_06 AC 41 ms
31,312 KB
testcase_07 AC 41 ms
31,092 KB
testcase_08 AC 41 ms
31,384 KB
testcase_09 AC 41 ms
31,104 KB
testcase_10 AC 41 ms
30,936 KB
testcase_11 AC 40 ms
31,084 KB
testcase_12 AC 41 ms
31,004 KB
testcase_13 AC 41 ms
31,132 KB
testcase_14 AC 42 ms
31,024 KB
testcase_15 AC 42 ms
31,004 KB
testcase_16 AC 43 ms
31,124 KB
testcase_17 AC 42 ms
31,100 KB
testcase_18 AC 41 ms
31,268 KB
testcase_19 AC 42 ms
31,388 KB
testcase_20 AC 42 ms
31,016 KB
testcase_21 AC 41 ms
31,220 KB
testcase_22 AC 41 ms
30,928 KB
testcase_23 AC 40 ms
31,148 KB
testcase_24 AC 40 ms
31,084 KB
testcase_25 AC 41 ms
31,256 KB
testcase_26 AC 41 ms
31,112 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($price,$tax)=explode(" ",trim(fgets(STDIN)));
//var_dump($price*(1+$tax/100));

echo floor(strval($price*(1+$tax/100)));
 
?>
0