結果

問題 No.46 はじめのn歩
ユーザー Kazunori HisadaKazunori Hisada
提出日時 2016-09-02 17:25:44
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 64 ms
コンパイル使用メモリ 32,148 KB
実行使用メモリ 32,400 KB
最終ジャッジ日時 2024-04-27 15:00:19
合計ジャッジ時間 929 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

<?php
$line = trim(fgets(STDIN));
$line = explode(' ',$line);
$i = $line[1]/$line[0];
if($line[0]*$i<$line[1]){
  $i++;
}
echo $i;
?>
0