結果

問題 No.46 はじめのn歩
ユーザー hamhamhamham
提出日時 2017-06-13 14:14:31
言語 PHP
(8.3.4)
結果
AC  
実行時間 47 ms / 5,000 ms
コード長 160 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 32,536 KB
実行使用メモリ 32,660 KB
最終ジャッジ日時 2023-10-24 21:46:00
合計ジャッジ時間 1,148 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

<?php
//1行目を読み込む
$line1 = trim(fgets(STDIN));
list($hohaba, $kukan) = explode(" ", $line1);

$hosu = ceil($kukan/$hohaba);

printf("{$hosu} \n");
0