結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
|
提出日時 | 2015-10-15 23:48:08 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 130 bytes |
コンパイル時間 | 53 ms |
コンパイル使用メモリ | 7,680 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-07-21 16:41:36 |
合計ジャッジ時間 | 3,328 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 WA * 7 |
コンパイルメッセージ
Syntax OK
ソースコード
x = gets.to_f.abs y = gets.to_f.abs l = gets.to_i command = (x / l).ceil + (y / l).ceil if x != 0 command += 1 end puts command