結果
問題 | No.388 階段 (1) |
ユーザー | takumi-onisi |
提出日時 | 2020-09-15 14:46:55 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 128 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 11,476 KB |
実行使用メモリ | 15,304 KB |
最終ジャッジ日時 | 2023-09-04 01:43:17 |
合計ジャッジ時間 | 2,141 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 78 ms
15,200 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
コンパイルメッセージ
Main.rb:2: warning: assigned but unused variable - steps Syntax OK
ソースコード
inputs = gets.split(nil) steps = inputs[0] steps_per_floor = inputs[1] puts steps_per_floor # puts (steps / steps_per_floor -1)