結果
| 問題 | No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1) | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2021-11-09 10:30:42 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 228 bytes | 
| コンパイル時間 | 206 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,496 KB | 
| 最終ジャッジ日時 | 2024-11-17 23:20:38 | 
| 合計ジャッジ時間 | 1,581 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 18 WA * 6 | 
ソースコード
#yuki1729 import collections import itertools n=input() x=oct(int(n,16)) x=x[2:] c=collections.Counter(x) mode_v=c.most_common()[0][-1] it=itertools.takewhile(lambda kv: kv[-1]==mode_v,c.most_common()) print(*(k for k,v in it))
