結果
| 問題 | No.587 七対子 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-06-28 16:03:07 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 222 bytes | 
| コンパイル時間 | 92 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,496 KB | 
| 最終ジャッジ日時 | 2024-07-02 04:13:20 | 
| 合計ジャッジ時間 | 2,531 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 30 WA * 5 | 
ソースコード
s = input()
d = {}
for i in s:
    if not i in d:
        d[i] = 1
    else:
        d[i] += 1
l = []
for k, v in d.items():
    if v == 1:
        l.append(k)
if len(l) == 1:
    print(*l)
else:
    print('Impossible')
            
            
            
        