結果
問題 | No.46 はじめのn歩 |
ユーザー | basie23 |
提出日時 | 2016-11-24 17:40:56 |
言語 | Ruby (3.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 85 bytes |
コンパイル時間 | 420 ms |
コンパイル使用メモリ | 11,540 KB |
実行使用メモリ | 19,536 KB |
最終ジャッジ日時 | 2023-08-18 07:00:21 |
合計ジャッジ時間 | 7,506 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 84 ms
15,032 KB |
testcase_01 | AC | 84 ms
15,032 KB |
testcase_02 | AC | 84 ms
15,132 KB |
testcase_03 | AC | 85 ms
15,072 KB |
testcase_04 | AC | 85 ms
15,140 KB |
testcase_05 | AC | 89 ms
15,120 KB |
testcase_06 | AC | 85 ms
15,016 KB |
testcase_07 | AC | 85 ms
15,268 KB |
testcase_08 | TLE | - |
testcase_09 | -- | - |
コンパイルメッセージ
Main.rb:3: warning: possibly useless use of a variable in void context Syntax OK
ソースコード
a, b = gets.split(" ").map(&:to_i) i = 1 until a * i >= b do i i += 1 end puts i