結果

問題 No.46 はじめのn歩
ユーザー michirumichiru
提出日時 2019-10-22 21:34:55
言語 PHP
(8.2.11)
結果
AC  
実行時間 8 ms / 5,000 ms
コード長 127 bytes
コンパイル時間 41 ms
コンパイル使用メモリ 12,068 KB
実行使用メモリ 12,348 KB
最終ジャッジ日時 2023-09-18 05:36:34
合計ジャッジ時間 773 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
12,288 KB
testcase_01 AC 8 ms
12,172 KB
testcase_02 AC 7 ms
12,264 KB
testcase_03 AC 7 ms
12,308 KB
testcase_04 AC 7 ms
12,232 KB
testcase_05 AC 8 ms
12,284 KB
testcase_06 AC 7 ms
12,320 KB
testcase_07 AC 8 ms
12,252 KB
testcase_08 AC 8 ms
12,296 KB
testcase_09 AC 7 ms
12,348 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
// Your code here!
list($a, $b) = explode(" ", trim(fgets(STDIN)));

$ans = 0;
$ans = $b / $a;

echo ceil($ans)."\n";

?>
0