結果

問題 No.63 ポッキーゲーム
ユーザー tazakkytazakky
提出日時 2017-08-30 11:35:40
言語 PHP
(8.3.4)
結果
TLE  
実行時間 -
コード長 199 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 31,764 KB
実行使用メモリ 38,836 KB
最終ジャッジ日時 2024-04-24 07:15:56
合計ジャッジ時間 7,764 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
31,212 KB
testcase_01 AC 42 ms
30,976 KB
testcase_02 AC 42 ms
30,824 KB
testcase_03 AC 44 ms
31,048 KB
testcase_04 AC 40 ms
30,872 KB
testcase_05 AC 40 ms
31,004 KB
testcase_06 AC 41 ms
31,112 KB
testcase_07 AC 50 ms
31,032 KB
testcase_08 AC 45 ms
31,256 KB
testcase_09 AC 96 ms
30,872 KB
testcase_10 AC 548 ms
31,256 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    list($l, $k) = explode(" ", trim(fgets(STDIN)));
    $nokori = $l;
    $count = 0;
    while($nokori > ($k * 2)){
    $nokori = $nokori - ($k * 2);
    $count++;
    }
    echo $count * $k;
0