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