結果

問題 No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1)
ユーザー pypypymipypypymi
提出日時 2022-05-04 19:36:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 201 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 86,952 KB
実行使用メモリ 72,076 KB
最終ジャッジ日時 2023-09-17 00:13:58
合計ジャッジ時間 3,225 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,860 KB
testcase_01 AC 81 ms
71,696 KB
testcase_02 AC 82 ms
71,772 KB
testcase_03 AC 80 ms
71,492 KB
testcase_04 AC 79 ms
71,736 KB
testcase_05 AC 80 ms
71,820 KB
testcase_06 AC 82 ms
71,884 KB
testcase_07 WA -
testcase_08 AC 81 ms
71,764 KB
testcase_09 AC 82 ms
71,632 KB
testcase_10 AC 80 ms
71,628 KB
testcase_11 AC 82 ms
71,596 KB
testcase_12 AC 81 ms
71,664 KB
testcase_13 AC 84 ms
71,484 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 86 ms
71,732 KB
testcase_20 AC 82 ms
71,640 KB
testcase_21 AC 82 ms
71,436 KB
testcase_22 AC 83 ms
71,484 KB
testcase_23 AC 82 ms
71,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)

0