結果
| 問題 | 
                            No.587 七対子
                             | 
                    
| コンテスト | |
| ユーザー | 
                             rythem00359
                         | 
                    
| 提出日時 | 2020-09-02 13:39:37 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 206 bytes | 
| コンパイル時間 | 222 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-11-21 14:08:48 | 
| 合計ジャッジ時間 | 2,269 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 32 WA * 3 | 
ソースコード
s=input()
ans='Impossible'
for c in set(list(s)):
    if s.count(c)>2:break
    elif s.count(c)==1:
        if ans=='Impossible':ans=c
        else:
            ans='Impossible'
            break
print(ans)
            
            
            
        
            
rythem00359