結果

問題 No.46 はじめのn歩
ユーザー basie23basie23
提出日時 2016-11-24 17:32:49
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 84 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 11,308 KB
実行使用メモリ 15,332 KB
最終ジャッジ日時 2023-08-18 06:59:52
合計ジャッジ時間 7,771 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
15,332 KB
testcase_01 AC 83 ms
15,144 KB
testcase_02 AC 84 ms
15,036 KB
testcase_03 AC 86 ms
15,168 KB
testcase_04 AC 84 ms
15,076 KB
testcase_05 AC 82 ms
15,040 KB
testcase_06 AC 86 ms
15,256 KB
testcase_07 AC 83 ms
15,264 KB
testcase_08 TLE -
testcase_09 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:3: warning: possibly useless use of a variable in void context
Syntax OK

ソースコード

diff #

a, b = gets.split(" ").map(&:to_i)
i = 1
while  a * i < b  do i
  i += 1
end

puts i
0