結果

問題 No.56 消費税
ユーザー tazakkytazakky
提出日時 2017-08-30 10:20:51
言語 PHP
(8.3.4)
結果
AC  
実行時間 41 ms / 5,000 ms
コード長 98 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 30,976 KB
実行使用メモリ 30,976 KB
最終ジャッジ日時 2024-04-24 07:14:46
合計ジャッジ時間 1,914 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
30,620 KB
testcase_01 AC 37 ms
30,864 KB
testcase_02 AC 37 ms
30,624 KB
testcase_03 AC 35 ms
30,684 KB
testcase_04 AC 34 ms
30,664 KB
testcase_05 AC 36 ms
30,536 KB
testcase_06 AC 36 ms
30,780 KB
testcase_07 AC 37 ms
30,612 KB
testcase_08 AC 37 ms
30,740 KB
testcase_09 AC 36 ms
30,648 KB
testcase_10 AC 35 ms
30,628 KB
testcase_11 AC 37 ms
30,520 KB
testcase_12 AC 41 ms
30,888 KB
testcase_13 AC 36 ms
30,664 KB
testcase_14 AC 38 ms
30,908 KB
testcase_15 AC 35 ms
30,924 KB
testcase_16 AC 37 ms
30,784 KB
testcase_17 AC 36 ms
30,652 KB
testcase_18 AC 35 ms
30,824 KB
testcase_19 AC 35 ms
30,676 KB
testcase_20 AC 36 ms
30,824 KB
testcase_21 AC 36 ms
30,756 KB
testcase_22 AC 36 ms
30,660 KB
testcase_23 AC 36 ms
30,664 KB
testcase_24 AC 36 ms
30,976 KB
testcase_25 AC 36 ms
30,852 KB
testcase_26 AC 36 ms
30,872 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    list($d, $p) = explode(" ",trim(fgets(STDIN)));
    echo $d + floor($d *  $p / 100);

?>
0