結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-03-09 01:33:52 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 324 bytes |
| コンパイル時間 | 105 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 29,536 KB |
| 平均クエリ数 | 5.23 |
| 最終ジャッジ日時 | 2024-07-16 08:47:45 |
| 合計ジャッジ時間 | 4,259 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 6 RE * 7 |
コンパイルメッセージ
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
x = tmp
s = i.to_s + s
break
end
if judge == 'unlocked'
exit
end
}
}