結果
| 問題 |
No.2925 2-Letter Shiritori
|
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2025-05-10 15:29:36 |
| 言語 | Ruby (3.4.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 331 bytes |
| コンパイル時間 | 348 ms |
| コンパイル使用メモリ | 8,488 KB |
| 実行使用メモリ | 21,280 KB |
| 最終ジャッジ日時 | 2025-05-10 15:29:43 |
| 合計ジャッジ時間 | 6,977 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 -- * 1 |
| other | -- * 10 |
コンパイルメッセージ
Syntax OK
ソースコード
class Start
def main
_ = input
echo "? aa"
while true
x = readlines.gsub("\r", "").split("\n")
break if x.size >= 2
y = x[0]
break if y.include?("!")
echo "? #{y[-1]}a"
end
end
protected
def echo(*x)
print(*x)
puts
end
def input = gets.chomp
end
Start.new.main
toshiro_yanagi