結果
| 問題 | No.587 七対子 |
| コンテスト | |
| ユーザー |
iad_2889
|
| 提出日時 | 2019-05-16 23:50:42 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 179 bytes |
| 記録 | |
| コンパイル時間 | 499 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-04-06 03:23:22 |
| 合計ジャッジ時間 | 4,819 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 32 WA * 3 |
ソースコード
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)
iad_2889