結果

問題 No.63 ポッキーゲーム
ユーザー d_nishiyama85d_nishiyama85
提出日時 2015-05-04 11:55:17
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 97 bytes
コンパイル時間 876 ms
コンパイル使用メモリ 18,524 KB
実行使用メモリ 18,764 KB
最終ジャッジ日時 2023-09-19 06:41:44
合計ジャッジ時間 2,465 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
18,512 KB
testcase_01 AC 16 ms
18,760 KB
testcase_02 AC 15 ms
18,612 KB
testcase_03 AC 16 ms
18,656 KB
testcase_04 WA -
testcase_05 AC 16 ms
18,760 KB
testcase_06 AC 15 ms
18,660 KB
testcase_07 AC 16 ms
18,760 KB
testcase_08 AC 15 ms
18,708 KB
testcase_09 AC 15 ms
18,512 KB
testcase_10 AC 16 ms
18,728 KB
testcase_11 AC 15 ms
18,756 KB
testcase_12 AC 16 ms
18,700 KB
testcase_13 WA -
testcase_14 AC 16 ms
18,676 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 16 ms
18,764 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
list($L, $K) = explode(' ', trim(fgets(STDIN)));

echo (floor($L / (2 * $K)) * $K ) . "\n";
0