結果

問題 No.46 はじめのn歩
ユーザー muzuimuzui
提出日時 2021-11-21 15:30:14
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 96 bytes
コンパイル時間 493 ms
コンパイル使用メモリ 11,208 KB
実行使用メモリ 30,692 KB
最終ジャッジ日時 2023-09-05 00:46:42
合計ジャッジ時間 8,581 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

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

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

puts x
0