結果

問題 No.304 鍵(1)
ユーザー harhogefooharhogefoo
提出日時 2016-10-13 16:44:10
言語 Ruby
(3.3.0)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 11,180 KB
実行使用メモリ 31,276 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 00:36:30
合計ジャッジ時間 2,091 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
31,172 KB
testcase_01 AC 100 ms
30,624 KB
testcase_02 AC 132 ms
31,276 KB
testcase_03 AC 99 ms
31,260 KB
testcase_04 AC 113 ms
31,044 KB
testcase_05 AC 96 ms
31,252 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

('0'..'9').each do |i|
  ('0'..'9').each do |j|
    ('0'..'9').each do |k|
      puts [i, j, k].join.chomp
      STDOUT.flush
      if gets.chomp == "unlocked"
        exit
      end
    end
  end
end
0