結果
| 問題 |
No.227 簡単ポーカー
|
| コンテスト | |
| ユーザー |
hykw202207
|
| 提出日時 | 2022-08-11 07:23:03 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 46 ms / 5,000 ms |
| コード長 | 347 bytes |
| コンパイル時間 | 216 ms |
| コンパイル使用メモリ | 82,156 KB |
| 実行使用メモリ | 53,888 KB |
| 最終ジャッジ日時 | 2024-09-21 15:43:17 |
| 合計ジャッジ時間 | 1,477 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
A = list(map(int, input().split()))
from collections import Counter
C = Counter(A).most_common()
if C[0][1] == 3:
if C[1][1] == 2:
print("FULL HOUSE")
else:
print("THREE CARD")
exit()
if C[0][1] == 2:
if C[1][1] == 2:
print("TWO PAIR")
else:
print("ONE PAIR")
exit()
print("NO HAND")
hykw202207