結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
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 TLE -
testcase_09 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

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