結果

問題 No.342 一番ワロタww
ユーザー angel_p_57angel_p_57
提出日時 2016-02-13 21:32:44
言語 Ruby
(3.3.0)
結果
AC  
実行時間 80 ms / 5,000 ms
コード長 79 bytes
コンパイル時間 365 ms
コンパイル使用メモリ 11,120 KB
実行使用メモリ 15,248 KB
最終ジャッジ日時 2023-08-05 16:13:09
合計ジャッジ時間 2,927 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,048 KB
testcase_01 AC 78 ms
15,172 KB
testcase_02 AC 79 ms
15,136 KB
testcase_03 AC 79 ms
15,076 KB
testcase_04 AC 80 ms
15,140 KB
testcase_05 AC 78 ms
15,132 KB
testcase_06 AC 76 ms
15,076 KB
testcase_07 AC 76 ms
15,032 KB
testcase_08 AC 77 ms
15,172 KB
testcase_09 AC 77 ms
15,024 KB
testcase_10 AC 78 ms
15,160 KB
testcase_11 AC 79 ms
15,248 KB
testcase_12 AC 79 ms
15,028 KB
testcase_13 AC 78 ms
15,200 KB
testcase_14 AC 79 ms
15,180 KB
testcase_15 AC 79 ms
15,244 KB
testcase_16 AC 79 ms
15,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: `*' interpreted as argument prefix
Syntax OK

ソースコード

diff #

h={?a=>[]};gets.scan(/(.*?)(w+)/){|(x,y)|x>""&&(h[y]||=[])<<x};puts *h.max[1]
0