結果
| 問題 | No.342 一番ワロタww |
| コンテスト | |
| ユーザー |
angel_p_57
|
| 提出日時 | 2016-02-13 21:32:44 |
| 言語 | Ruby (4.0.2) |
| 結果 |
AC
|
| 実行時間 | 78 ms / 5,000 ms |
| コード長 | 79 bytes |
| 記録 | |
| コンパイル時間 | 59 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 14,976 KB |
| 最終ジャッジ日時 | 2026-05-04 13:51:26 |
| 合計ジャッジ時間 | 2,997 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
コンパイルメッセージ
Main.rb:1: warning: ambiguous `*` has been interpreted as an argument prefix Syntax OK
ソースコード
h={?a=>[]};gets.scan(/(.*?)(w+)/){|(x,y)|x>""&&(h[y]||=[])<<x};puts *h.max[1]
angel_p_57