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