結果
| 問題 |
No.388 階段 (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-15 14:33:56 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 80 bytes |
| コンパイル時間 | 95 ms |
| コンパイル使用メモリ | 7,680 KB |
| 実行使用メモリ | 12,544 KB |
| 最終ジャッジ日時 | 2024-06-22 01:44:10 |
| 合計ジャッジ時間 | 2,193 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 12 |
コンパイルメッセージ
Main.rb:4: warning: `-' after local variable or literal is interpreted as binary operator Main.rb:4: warning: even though it seems like unary operator Syntax OK
ソースコード
steps = gets.to_i steps_per_floor = gets.to_i puts (steps / steps_per_floor -1)