結果

問題 No.46 はじめのn歩
ユーザー msm10msm10
提出日時 2019-04-11 01:42:40
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 94 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 11,204 KB
実行使用メモリ 19,724 KB
最終ジャッジ日時 2023-09-22 22:19:18
合計ジャッジ時間 7,736 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,116 KB
testcase_01 AC 82 ms
15,056 KB
testcase_02 AC 83 ms
15,052 KB
testcase_03 AC 82 ms
15,148 KB
testcase_04 AC 85 ms
15,052 KB
testcase_05 AC 82 ms
15,104 KB
testcase_06 AC 81 ms
15,232 KB
testcase_07 AC 82 ms
15,100 KB
testcase_08 TLE -
testcase_09 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a, b = gets.split(' ').map(&:to_i)
count = 0

while a * count < b
  count += 1
end

puts count
0