結果
| 問題 | No.227 簡単ポーカー |
| コンテスト | |
| ユーザー |
mmmppp
|
| 提出日時 | 2017-03-09 12:11:30 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 122 bytes |
| 記録 | |
| コンパイル時間 | 43 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 15,104 KB |
| 最終ジャッジ日時 | 2026-03-09 06:57:21 |
| 合計ジャッジ時間 | 1,704 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 3 |
コンパイルメッセージ
Main.rb:2: warning: ambiguous `/`; 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
ソースコード
$_=([]|a=gets.split).map{|e|a.count e}*''
puts /3/?/2/?'FULL HOUSE':'THREE CARD':/2/?($'[0]?'TWO':'ONE')+' PAIR':'NO HAND'
mmmppp