結果
問題 | No.63 ポッキーゲーム |
ユーザー | sorch |
提出日時 | 2020-07-26 16:29:07 |
言語 | PHP (8.3.4) |
結果 |
TLE
|
実行時間 | - |
コード長 | 351 bytes |
コンパイル時間 | 463 ms |
コンパイル使用メモリ | 11,996 KB |
実行使用メモリ | 12,320 KB |
最終ジャッジ日時 | 2023-09-11 02:42:51 |
合計ジャッジ時間 | 7,867 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 7 ms
12,320 KB |
testcase_01 | AC | 7 ms
12,256 KB |
testcase_02 | AC | 7 ms
12,264 KB |
testcase_03 | AC | 7 ms
12,320 KB |
testcase_04 | AC | 7 ms
12,208 KB |
testcase_05 | AC | 7 ms
12,256 KB |
testcase_06 | AC | 8 ms
12,164 KB |
testcase_07 | AC | 14 ms
12,196 KB |
testcase_08 | AC | 10 ms
12,172 KB |
testcase_09 | AC | 44 ms
12,164 KB |
testcase_10 | AC | 368 ms
12,188 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
ソースコード
<?php /** * No.63 ポッキーゲーム * * @see https://yukicoder.me/problems/134 */ list($pockeyLengh, $eatLength) = explode(" ", trim(fgets(STDIN))); $remainingLength = $pockeyLengh; $totalEatLengthByYu = 0; while (($remainingLength -= $eatLength * 2) > 0) { $totalEatLengthByYu += $eatLength; } echo $totalEatLengthByYu . "\n";