結果
| 問題 | No.1729 ~サンプルはちゃんと見て!~ 16進数と8進数(1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-09 10:44:56 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 19 ms / 2,000 ms |
| + 959µs | |
| コード長 | 219 bytes |
| 記録 | |
| コンパイル時間 | 52 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-25 17:08:59 |
| 合計ジャッジ時間 | 2,242 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
#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)