結果
問題 | No.587 七対子 |
ユーザー |
![]() |
提出日時 | 2021-03-25 10:49:53 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 274 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-27 02:29:03 |
合計ジャッジ時間 | 2,190 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 35 |
ソースコード
ans={} for i in input(): if i not in ans: ans[i]=1 else: ans[i]+=1 check=[*ans.values()] if check.count(2)==6 and check.count(1)==1: print(*[i for i,j in ans.items() if j==1]) else: print('Impossible')