結果

問題 No.46 はじめのn歩
ユーザー ねずねず
提出日時 2018-01-23 22:54:58
言語 PHP
(8.3.4)
結果
AC  
実行時間 7 ms / 5,000 ms
コード長 137 bytes
コンパイル時間 924 ms
コンパイル使用メモリ 12,048 KB
実行使用メモリ 10,596 KB
最終ジャッジ日時 2023-08-26 23:56:30
合計ジャッジ時間 1,463 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

<?php
$line = fgets(STDIN);
$val = explode(" ", $line);
$a = $val[0];
$b = $val[1];
print $b % $a == 0 ? $b / $a : (int)($b / $a) + 1;
?>
0