結果
問題 |
No.227 簡単ポーカー
|
ユーザー |
![]() |
提出日時 | 2024-05-03 00:55:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 257 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-23 20:47:16 |
合計ジャッジ時間 | 1,236 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 14 |
ソースコード
a = list(map(int,input().split())) ls = [0] * 13 for i in a: ls[a-1] += 1 if 3 in ls: if 2 in ls: print("FULL HOUSE") else: print("THREE CARD") elif l.count(2) == 2: print("TWO PAIR") elif l.count(2) == 1: print("ONE PAIR") else: print("NO HAND")