結果

問題 No.587 七対子
ユーザー jilloperator
提出日時 2017-11-03 23:55:22
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 272 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-11-23 15:13:21
合計ジャッジ時間 2,348 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 32 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

s = list(input())
uni_s = set(s)
count = {}


if len(uni_s) != 7:
    print("Impossible")
else:
    for w in s:
        if w in count:
            count[w] += 1
        else:
            count[w] = 1

    for i, v in count.items():
        if v == 1:
            print(i)
0