結果

問題 No.342 一番ワロタww
ユーザー syarosyaro
提出日時 2017-12-01 01:37:57
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 51 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 11,444 KB
実行使用メモリ 15,300 KB
最終ジャッジ日時 2023-08-18 11:16:26
合計ジャッジ時間 2,754 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,032 KB
testcase_01 AC 74 ms
15,076 KB
testcase_02 AC 73 ms
15,208 KB
testcase_03 AC 75 ms
15,032 KB
testcase_04 AC 74 ms
14,984 KB
testcase_05 AC 73 ms
15,036 KB
testcase_06 AC 74 ms
15,300 KB
testcase_07 AC 74 ms
15,116 KB
testcase_08 AC 75 ms
15,180 KB
testcase_09 AC 75 ms
15,000 KB
testcase_10 AC 76 ms
15,056 KB
testcase_11 AC 75 ms
15,172 KB
testcase_12 AC 74 ms
15,056 KB
testcase_13 AC 76 ms
15,112 KB
testcase_14 AC 74 ms
15,208 KB
testcase_15 AC 75 ms
15,108 KB
testcase_16 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
Syntax OK

ソースコード

diff #

puts gets.scan /([^w]+)#{$_.scan(/w+/).max||9}/
0