結果

問題 No.587 七対子
ユーザー iad_2889iad_2889
提出日時 2019-05-16 23:50:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-09-17 05:43:24
合計ジャッジ時間 2,486 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 32 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
_set = set(S)
can_pair = len(_set) == 7
ans = "Impossible"
if can_pair:
    for s in _set:
        if S.count(s) == 1:
            ans = s
            break
print(ans)
0