結果

問題 No.304 鍵(1)
ユーザー 👑 horiesinitihoriesiniti
提出日時 2016-05-25 16:35:32
言語 Ruby
(3.3.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 291 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 43,388 KB
最終ジャッジ日時 2023-09-23 23:55:03
合計ジャッジ時間 6,553 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

# your code goes here
hit=false
S=""
10.times do |a|
	10.times do |b|
		10.times do |c|
			if hit==false
				d=a.to_s<<b.to_s<<c.to_s
				puts d
			end
			S=STDIN.gets
			if S=="unlocked\n"
				hit=true
				break
			end
		end
		if hit==true
			break
		end
	end
	if hit==true
		break
	end
end
0