結果
| 問題 | No.227 簡単ポーカー |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-25 16:10:09 |
| 言語 | Ruby (4.0.6 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 53 ms / 5,000 ms |
| + 237µs | |
| コード長 | 111 bytes |
| 記録 | |
| コンパイル時間 | 90 ms |
| コンパイル使用メモリ | 9,844 KB |
| 実行使用メモリ | 14,592 KB |
| 最終ジャッジ日時 | 2026-09-30 15:04:32 |
| 合計ジャッジ時間 | 2,180 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
コンパイルメッセージ
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 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'