結果

問題 No.46 はじめのn歩
ユーザー Masataka MiyoshiMasataka Miyoshi
提出日時 2018-07-20 03:53:30
言語 PHP
(8.2.11)
結果
WA  
実行時間 -
コード長 116 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 12,100 KB
実行使用メモリ 12,176 KB
最終ジャッジ日時 2023-08-26 21:29:45
合計ジャッジ時間 841 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

list($a, $b) = explode(" ", trim(fgets(STDIN)));
if($b%$a == 0) {
    echo ($b/$a);
} else {
    echo ($b/$a + 1);
}
0