結果
問題 | No.388 階段 (1) |
ユーザー |
|
提出日時 | 2020-09-15 14:45:47 |
言語 | Ruby (3.4.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 105 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-22 01:44:31 |
合計ジャッジ時間 | 2,120 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 12 |
コンパイルメッセージ
Main.rb:5: warning: `-' after local variable or literal is interpreted as binary operator Main.rb:5: warning: even though it seems like unary operator Syntax OK
ソースコード
inputs = gets.split(nil)steps = inputs[0]steps_per_floor = inputs[1]puts (steps / steps_per_floor -1)