結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-09 02:03:21 |
| 言語 | Ruby (4.0.2) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 168 bytes |
| 記録 | |
| コンパイル時間 | 415 ms |
| コンパイル使用メモリ | 8,832 KB |
| 実行使用メモリ | 29,184 KB |
| 最終ジャッジ日時 | 2026-03-16 12:32:33 |
| 合計ジャッジ時間 | 28,754 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 TLE * 3 |
コンパイルメッセージ
Main.rb:6: warning: '*' after local variable or literal is interpreted as binary operator 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