結果
問題 |
No.921 ずんだアロー
|
ユーザー |
![]() |
提出日時 | 2025-06-12 20:03:13 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 186 ms |
コンパイル使用メモリ | 81,976 KB |
実行使用メモリ | 98,976 KB |
最終ジャッジ日時 | 2025-06-12 20:08:20 |
合計ジャッジ時間 | 2,800 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 7 |
ソースコード
n = int(input()) a = list(map(int, input().split())) from collections import Counter count = Counter(a) max_count = max(count.values()) other = (n + 1) // 2 print(max(max_count, other))