結果

問題 No.46 はじめのn歩
ユーザー maru11366778maru11366778
提出日時 2017-01-30 09:32:12
言語 PHP
(8.3.4)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 184 bytes
コンパイル時間 1,293 ms
コンパイル使用メモリ 18,548 KB
実行使用メモリ 18,816 KB
最終ジャッジ日時 2023-08-25 15:12:57
合計ジャッジ時間 2,143 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

<?php
    //一行分を読み込む, 空白で分割してそれぞれ$aと$bの変数に入れる
    list($a, $b) = explode(" ", trim(fgets(STDIN)));
    
    printf(ceil($b / $a));
0