結果

問題 No.304 鍵(1)
ユーザー TANIGUCHI KousukeTANIGUCHI Kousuke
提出日時 2019-12-03 13:22:28
言語 Ruby
(3.3.0)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 307 ms
コンパイル使用メモリ 11,384 KB
実行使用メモリ 31,504 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:20:57
合計ジャッジ時間 1,721 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 100 ms
31,208 KB
testcase_01 AC 101 ms
31,504 KB
testcase_02 AC 142 ms
31,432 KB
testcase_03 AC 95 ms
30,992 KB
testcase_04 AC 109 ms
31,292 KB
testcase_05 AC 96 ms
31,268 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

(0 ... 1000).find do |n|
  puts "%03d" % n
  $stdout.flush
  gets.chomp == "unlocked"
end
0