結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-03-09 01:34:58 |
| 言語 | Ruby (4.0.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 324 bytes |
| 記録 | |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 9,088 KB |
| 実行使用メモリ | 41,376 KB |
| 平均クエリ数 | 1.54 |
| 最終ジャッジ日時 | 2026-03-30 21:33:27 |
| 合計ジャッジ時間 | 5,207 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 13 |
コンパイルメッセージ
Main.rb:7: warning: assigned but unused variable - jugde Syntax OK
ソースコード
s = ''
tmp = 0
10.times{
10.times{|i|
puts "%010d" % (i.to_s + s)
STDOUT.flush
x,jugde = gets.chomp.split
x = x.to_i
if tmp < x
tmp = x
s = i.to_s + s
break
end
if judge == 'unlocked'
exit
end
}
}