結果
| 問題 | No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-09 10:44:56 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 2,000 ms |
| + 419µs | |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 115 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2026-10-15 06:14:24 |
| 合計ジャッジ時間 | 2,211 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
#yuki1729 import collections n=input() x=oct(int(n,16)) cnt=collections.Counter(x[2:]) ma=0 for k,v in cnt.items(): if v>ma: ma=v res=[] for k,v in cnt.items(): if v==ma: res.append(int(k)) res.sort() print(*res)