結果
| 問題 | 
                            No.342 一番ワロタww
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2016-06-17 00:09:26 | 
| 言語 | Ruby  (3.4.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 135 bytes | 
| コンパイル時間 | 55 ms | 
| コンパイル使用メモリ | 7,680 KB | 
| 実行使用メモリ | 12,416 KB | 
| 最終ジャッジ日時 | 2024-10-09 16:40:00 | 
| 合計ジャッジ時間 | 2,437 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 WA * 2 | 
コンパイルメッセージ
Syntax OK
ソースコード
str = gets
m = str.scan(/w*/u).map{|s|s.length}.max
puts str.scan(/([^w]*)w{#{m}}/u).map{|s|s.first}.select{|s|s!=""}.join("\n")