結果
問題 | No.587 七対子 |
ユーザー |
![]() |
提出日時 | 2023-04-13 04:01:54 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 170 bytes |
コンパイル時間 | 263 ms |
コンパイル使用メモリ | 82,408 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-10-09 05:10:23 |
合計ジャッジ時間 | 2,701 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 35 |
ソースコード
s=input()ans = [0]*30for i in s:ans[int(ord(i))-97] +=1if ans.count(2) == 6 and ans.count(1) == 1:print(chr(ans.index(1)+97))else:print('Impossible')