結果
| 問題 | No.227 簡単ポーカー | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-05-01 18:14:02 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 494 bytes | 
| コンパイル時間 | 538 ms | 
| コンパイル使用メモリ | 82,548 KB | 
| 実行使用メモリ | 54,316 KB | 
| 最終ジャッジ日時 | 2025-05-01 18:14:04 | 
| 合計ジャッジ時間 | 1,850 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 14 | 
ソースコード
def main():
    ns = list(map(int, input().split()))
    count = 0
    for i in range(0, 5):
        for j in range(0, 5):
            if ns[i] == ns[j]:
                count += 1
    print(count)
    match count:
        case 5:
            print("NO HAND")
        case 7:
            print("ONE PAIR")
        case 9:
            print("TWO PAIR")
        case 11:
            print("THREE CARD")
        case 13:
            print("FULL HOUSE")
if __name__ == '__main__':
    main()
            
            
            
        