結果
問題 | No.63 ポッキーゲーム |
ユーザー |
|
提出日時 | 2018-04-14 18:10:36 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 66 bytes |
コンパイル時間 | 234 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-26 22:31:36 |
合計ジャッジ時間 | 2,936 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 22 |
コンパイルメッセージ
Main.rb:2: warning: `*' after local variable or literal is interpreted as binary operator Main.rb:2: warning: even though it seems like argument prefix Syntax OK
ソースコード
l,k = gets.chomp.split(' ').map(&:to_f) puts ((l / k*2).ceil-1) *k