結果

問題 No.63 ポッキーゲーム
ユーザー mahnamahna
提出日時 2020-10-13 17:42:11
言語 PHP
(8.3.4)
結果
TLE  
実行時間 -
コード長 181 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 12,020 KB
実行使用メモリ 16,628 KB
最終ジャッジ日時 2023-09-28 00:12:25
合計ジャッジ時間 7,193 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
12,132 KB
testcase_01 AC 7 ms
12,128 KB
testcase_02 AC 7 ms
12,172 KB
testcase_03 AC 6 ms
12,180 KB
testcase_04 AC 6 ms
12,184 KB
testcase_05 AC 5 ms
12,248 KB
testcase_06 AC 7 ms
12,252 KB
testcase_07 AC 11 ms
12,188 KB
testcase_08 AC 8 ms
12,264 KB
testcase_09 AC 33 ms
12,092 KB
testcase_10 AC 241 ms
12,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
// Your code here!

    fscanf(STDIN,"%d %d",$l,$k);
    
    $yuu = 0;
    while ($l - $k * 2 > 0) {
        $yuu += $k;
        $l -= $k * 2;
    }
    
    echo $yuu;


?>
0