結果
| 問題 |
No.63 ポッキーゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-09 02:03:21 |
| 言語 | Ruby (3.4.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 168 bytes |
| コンパイル時間 | 189 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 17,408 KB |
| 最終ジャッジ日時 | 2024-06-28 02:37:19 |
| 合計ジャッジ時間 | 8,342 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 TLE * 1 -- * 10 |
コンパイルメッセージ
Main.rb:6: warning: `*' after local variable or literal is interpreted as binary operator Main.rb:6: warning: even though it seems like argument prefix Syntax OK
ソースコード
len_pok, len_eat = gets.split.map(&:to_f) sum_yuu_eat = 0 while true len_pok -= len_eat *2 break if len_pok <= 0 sum_yuu_eat += len_eat end puts sum_yuu_eat.to_i