結果
問題 |
No.227 簡単ポーカー
|
ユーザー |
![]() |
提出日時 | 2021-03-25 16:10:09 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 82 ms / 5,000 ms |
コード長 | 111 bytes |
コンパイル時間 | 257 ms |
コンパイル使用メモリ | 7,680 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-11-27 02:35:21 |
合計ジャッジ時間 | 2,256 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
コンパイルメッセージ
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 Main.rb:2: warning: regex literal in condition Syntax OK
ソースコード
$_=gets.split.tally.values*'' puts /3/?/2/?'FULL HOUSE':'THREE CARD':/2.*2/?'TWO PAIR':/2/?'ONE PAIR':'NO HAND'