結果

問題 No.227 簡単ポーカー
ユーザー mmmpppmmmppp
提出日時 2017-03-09 12:09:14
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 119 bytes
コンパイル時間 563 ms
コンパイル使用メモリ 11,156 KB
実行使用メモリ 15,348 KB
最終ジャッジ日時 2023-09-06 05:11:32
合計ジャッジ時間 2,433 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,148 KB
testcase_01 AC 81 ms
15,080 KB
testcase_02 AC 83 ms
15,084 KB
testcase_03 AC 82 ms
15,128 KB
testcase_04 WA -
testcase_05 AC 86 ms
15,304 KB
testcase_06 AC 82 ms
15,268 KB
testcase_07 AC 82 ms
15,124 KB
testcase_08 AC 83 ms
15,148 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 81 ms
15,124 KB
testcase_13 AC 81 ms
15,348 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
Main.rb:2: warning: regex literal in condition
Main.rb:2: warning: regex literal in condition
Main.rb:2: warning: regex literal in condition
Syntax OK

ソースコード

diff #

$_=([]|a=gets.split).map{|e|a.count e}*''
puts /3/?/2/?'FULL HOUSE':'THREE CARD':/2/?($'?'TWO':'ONE')+' PAIR':'NO HAND'
0