結果
| 問題 | No.587 七対子 |
| コンテスト | |
| ユーザー |
kawacchu
|
| 提出日時 | 2019-10-09 18:24:48 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 234 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2026-09-25 08:02:00 |
| 合計ジャッジ時間 | 2,964 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 WA * 9 |
ソースコード
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")
kawacchu