結果
| 問題 |
No.1643 Not Substring
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2023-07-07 07:11:45 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 84 bytes |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-07-21 02:00:18 |
| 合計ジャッジ時間 | 4,654 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 WA * 17 |
コンパイルメッセージ
Syntax OK
ソースコード
s=gets.chomp
ans="a"
while /#{ans}/.match(s).nil?()==false do
ans<<'a'
end
puts ans
horiesiniti