結果
問題 |
No.587 七対子
|
ユーザー |
![]() |
提出日時 | 2018-06-07 15:18:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 233 bytes |
コンパイル時間 | 83 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-30 10:29:42 |
合計ジャッジ時間 | 2,471 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 32 WA * 3 |
ソースコード
target = input() dict = {} for char in target: if char in dict: dict[char] +=1 else: dict[char] = 1 if len(dict)==7: dict2 = {v:k for k, v in dict.items()} print(dict2[1]) else: print('Impossible')