結果

問題 No.63 ポッキーゲーム
ユーザー kagikakko_karikagikakko_kari
提出日時 2016-06-19 19:53:36
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 123 bytes
コンパイル時間 1,774 ms
コンパイル使用メモリ 32,148 KB
実行使用メモリ 32,660 KB
最終ジャッジ日時 2024-04-19 13:01:38
合計ジャッジ時間 3,251 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
31,216 KB
testcase_01 AC 34 ms
30,896 KB
testcase_02 AC 36 ms
31,452 KB
testcase_03 AC 34 ms
31,192 KB
testcase_04 AC 34 ms
31,320 KB
testcase_05 AC 34 ms
31,248 KB
testcase_06 AC 33 ms
30,956 KB
testcase_07 AC 34 ms
31,468 KB
testcase_08 AC 33 ms
31,452 KB
testcase_09 AC 33 ms
31,232 KB
testcase_10 AC 34 ms
31,320 KB
testcase_11 AC 35 ms
31,212 KB
testcase_12 AC 35 ms
31,108 KB
testcase_13 WA -
testcase_14 AC 36 ms
31,376 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 34 ms
31,112 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($l,$k) = explode(" ",trim(fgets(STDIN)));
$n = $l / ($k * 2);
if($n == 1){
echo 0;
}else{
echo $k * floor($n);
}
0