結果

問題 No.227 簡単ポーカー
ユーザー roiti46
提出日時 2015-06-19 22:26:04
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 338 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-07 04:03:47
合計ジャッジ時間 924 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

A = map(int, raw_input().split())
three = two = 0
for a in set(A):
        if A.count(a) == 3:
                three += 1
        if A.count(a) == 2:
                two += 1

if   three and two: print "FULL HOUSE"
elif three: print "THREE HAND"
elif two == 2: print "TWO PAIR"
elif two == 1: print "ONE HAND"
else: print "NO HAND"
0