結果
| 問題 | No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-09 10:30:42 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 354 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,484 KB |
| 最終ジャッジ日時 | 2026-05-12 16:47:13 |
| 合計ジャッジ時間 | 3,760 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))