結果

問題 No.63 ポッキーゲーム
ユーザー clef_delphclef_delph
提出日時 2020-02-18 22:03:10
言語 PHP
(8.3.4)
結果
TLE  
実行時間 -
コード長 165 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 32,148 KB
実行使用メモリ 38,968 KB
最終ジャッジ日時 2024-04-16 04:16:38
合計ジャッジ時間 7,820 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
32,144 KB
testcase_01 AC 42 ms
31,264 KB
testcase_02 AC 42 ms
30,868 KB
testcase_03 AC 46 ms
31,184 KB
testcase_04 AC 41 ms
31,260 KB
testcase_05 AC 41 ms
30,896 KB
testcase_06 AC 41 ms
31,456 KB
testcase_07 AC 52 ms
31,228 KB
testcase_08 AC 46 ms
31,156 KB
testcase_09 AC 97 ms
31,044 KB
testcase_10 AC 558 ms
31,340 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($length,$bite)=explode(" ",trim(fgets(STDIN)));
 $count=0;
 
 while($length>$bite*2){
    $length-=$bite*2;
    $count++;
 }
 
 echo ($count*$bite);
 
?>
0