結果

問題 No.477 MVP
ユーザー happy-beanshappy-beans
提出日時 2017-03-14 06:40:12
言語 PHP
(8.2.11)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 608 ms
コンパイル使用メモリ 11,836 KB
実行使用メモリ 12,308 KB
最終ジャッジ日時 2023-09-12 12:19:02
合計ジャッジ時間 1,687 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

<?php

// No.477
$args = explode(" ", trim(fgets(STDIN)));

$ans = floor($args[0] / ($args[1] + 1)) + 1;

echo $ans.PHP_EOL;
return;
0