結果

問題 No.587 七対子
ユーザー kawacchu
提出日時 2019-10-09 18:24:48
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 234 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-17 10:25:33
合計ジャッジ時間 2,468 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 26 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

from string import ascii_lowercase
D = {s : 0 for s in ascii_lowercase}
for s in input() :
    D[s] += 1

c = 0
for s in D :
    if D[s] % 2 == 1 :
        a = s
        c += 1

if c == 1 :
    print(a)
else :
    print("Impossible")
0