結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-09 02:00:19 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 167 bytes |
| コンパイル時間 | 128 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 17,280 KB |
| 最終ジャッジ日時 | 2024-06-28 02:37:11 |
| 合計ジャッジ時間 | 9,109 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 2 TLE * 1 -- * 10 |
コンパイルメッセージ
Syntax OK
ソースコード
len_pok, len_eat = gets.split.map(&:to_f) sum_yuu_eat = 0 while true len_pok -= len_eat break if len_pok <= 0 sum_yuu_eat += len_eat/2 end puts sum_yuu_eat.to_i