結果

問題 No.46 はじめのn歩
ユーザー basie23basie23
提出日時 2016-11-24 17:39:54
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 84 bytes
コンパイル時間 352 ms
コンパイル使用メモリ 11,524 KB
実行使用メモリ 15,368 KB
最終ジャッジ日時 2023-08-18 07:00:12
合計ジャッジ時間 7,463 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 77 ms
15,292 KB
testcase_02 WA -
testcase_03 AC 74 ms
15,228 KB
testcase_04 AC 77 ms
15,124 KB
testcase_05 AC 75 ms
15,128 KB
testcase_06 WA -
testcase_07 AC 78 ms
15,036 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
until  a * i > b  do i
  i += 1
end

puts i
0