結果

問題 No.388 階段 (1)
ユーザー Kentaro YanoKentaro Yano
提出日時 2021-03-29 17:40:17
言語 PHP
(8.3.4)
結果
AC  
実行時間 14 ms / 2,000 ms
コード長 184 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 18,580 KB
実行使用メモリ 18,800 KB
最終ジャッジ日時 2023-08-19 16:18:26
合計ジャッジ時間 1,133 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
18,712 KB
testcase_01 AC 13 ms
18,576 KB
testcase_02 AC 12 ms
18,676 KB
testcase_03 AC 12 ms
18,680 KB
testcase_04 AC 13 ms
18,712 KB
testcase_05 AC 13 ms
18,716 KB
testcase_06 AC 14 ms
18,800 KB
testcase_07 AC 12 ms
18,736 KB
testcase_08 AC 13 ms
18,672 KB
testcase_09 AC 13 ms
18,684 KB
testcase_10 AC 13 ms
18,728 KB
testcase_11 AC 13 ms
18,624 KB
testcase_12 AC 14 ms
18,736 KB
testcase_13 AC 13 ms
18,624 KB
testcase_14 AC 12 ms
18,740 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    $line = trim(fgets(STDIN));
    $inputs = explode(" ", $line);
    
    // var_dump($inputs);
    
    $stairs = floor($inputs[0] / $inputs[1]);
    
    echo $stairs + 1;
?>
0