結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-14 18:10:36 |
| 言語 | Ruby (4.0.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 66 bytes |
| 記録 | |
| コンパイル時間 | 263 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 14,976 KB |
| 最終ジャッジ日時 | 2026-03-13 19:58:54 |
| 合計ジャッジ時間 | 2,026 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
コンパイルメッセージ
Main.rb:2: warning: '*' after local variable or literal is interpreted as binary operator even though it seems like argument prefix Syntax OK
ソースコード
l,k = gets.chomp.split(' ').map(&:to_f)
puts ((l / k*2).ceil-1) *k