結果
| 問題 | 
                            No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-05-04 19:36:07 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 201 bytes | 
| コンパイル時間 | 151 ms | 
| コンパイル使用メモリ | 82,464 KB | 
| 実行使用メモリ | 55,992 KB | 
| 最終ジャッジ日時 | 2024-07-03 22:45:18 | 
| 合計ジャッジ時間 | 2,137 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 18 WA * 6 | 
ソースコード
from collections import Counter n = input() x1 = int(n,16) x2 = format(x1,'o') x3 = Counter(list(x2)) x4 = list(filter(lambda x:x[1]==max(x3.values()),x3.items())) x4 = [i[0] for i in x4] print(*x4)