結果
問題 |
No.63 ポッキーゲーム
|
ユーザー |
|
提出日時 | 2020-07-26 16:29:07 |
言語 | PHP (843.2) |
結果 |
TLE
|
実行時間 | - |
コード長 | 351 bytes |
コンパイル時間 | 3,255 ms |
コンパイル使用メモリ | 32,016 KB |
実行使用メモリ | 39,340 KB |
最終ジャッジ日時 | 2024-06-28 17:13:10 |
合計ジャッジ時間 | 8,222 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 TLE * 1 -- * 10 |
コンパイルメッセージ
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";