結果

問題 No.227 簡単ポーカー
ユーザー ppp
提出日時 2016-01-21 12:37:45
言語 Python2
(2.7.18)
結果
AC  
実行時間 13 ms / 5,000 ms
コード長 262 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-09-21 14:56:06
合計ジャッジ時間 711 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

A = map(int, raw_input().split())
B = []
for i in range(1, 13+1):
	B.append(A.count(i))
if 3 in B:
	if 2 in B:
		print "FULL HOUSE"
	else:
		print "THREE CARD"
elif 2 in B:
	if B.count(2) == 2:
			print "TWO PAIR"
	else:
		print "ONE PAIR"
else:
	print "NO HAND"
0