結果

問題 No.63 ポッキーゲーム
ユーザー nachiguro1003
提出日時 2018-04-14 18:04:58
言語 Ruby
(3.4.1)
結果
WA  
実行時間 -
コード長 56 bytes
コンパイル時間 43 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-06-26 22:30:04
合計ジャッジ時間 2,755 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

ソースコード

diff #

l,k = gets.split(' ').map(&:to_i)
puts ((l / k*2)-1) *2 
0