結果
| 問題 |
No.227 簡単ポーカー
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-01 18:15:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 477 bytes |
| コンパイル時間 | 312 ms |
| コンパイル使用メモリ | 82,160 KB |
| 実行使用メモリ | 53,988 KB |
| 最終ジャッジ日時 | 2025-05-01 18:15:37 |
| 合計ジャッジ時間 | 1,686 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 WA * 3 |
ソースコード
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
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()