結果
問題 | No.388 階段 (1) |
ユーザー |
|
提出日時 | 2020-09-15 17:19:16 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 115 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-22 01:50:29 |
合計ジャッジ時間 | 1,837 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 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].to_isteps_per_floor = inputs[1].to_iputs (steps / steps_per_floor -1)