結果

問題 No.46 はじめのn歩
ユーザー muzuimuzui
提出日時 2021-11-21 15:21:13
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 98 bytes
コンパイル時間 542 ms
コンパイル使用メモリ 11,292 KB
実行使用メモリ 30,196 KB
最終ジャッジ日時 2023-09-05 00:37:14
合計ジャッジ時間 8,155 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 TLE -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

val = gets.chomp!.split(' ').map(&:to_i)

x = 0
while val[1]/val[0] <= x
    x += 1
end

return x
0