結果
| 問題 | No.227 簡単ポーカー | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-05-09 22:55:37 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 357 bytes | 
| コンパイル時間 | 255 ms | 
| コンパイル使用メモリ | 12,032 KB | 
| 実行使用メモリ | 11,648 KB | 
| 最終ジャッジ日時 | 2025-05-09 22:55:39 | 
| 合計ジャッジ時間 | 1,898 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | RE * 14 | 
ソースコード
from collections import Counter
cards= list(map(int, input().split()))
counts = Counter(cards)
freqs= sorted(counts.value(), reverse=True)
if freqs == [3, 2]:
    print("FULL HOUSE")
elif freqs == [3, 1, 1]:
    print("THREE CARD")
elif freqs == [2, 2, 1]:
    print("TWO PAIR")
elif freqs == [2, 1, 1, 1]:
    print("ONE PAIR")
else:
    print("NO HAND")
            
            
            
        