結果
問題 |
No.63 ポッキーゲーム
|
ユーザー |
![]() |
提出日時 | 2016-10-02 03:02:58 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 89 bytes |
コンパイル時間 | 53 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-11-21 12:52:00 |
合計ジャッジ時間 | 2,649 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 WA * 8 |
コンパイルメッセージ
Main.rb:4: warning: assigned but unused variable - l Syntax OK
ソースコード
# Here your code ! L, K = gets.chomp.split.map(&:to_i) t = L/K l = L%K puts (t - t%2)/2*K