結果

問題 No.921 ずんだアロー
ユーザー 💕💖💞💕💖💞
提出日時 2019-11-13 17:53:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 145 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 11,604 KB
実行使用メモリ 28,008 KB
最終ジャッジ日時 2023-10-21 19:45:41
合計ジャッジ時間 2,257 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,008 KB
testcase_01 AC 27 ms
10,008 KB
testcase_02 AC 28 ms
10,008 KB
testcase_03 AC 27 ms
10,008 KB
testcase_04 AC 27 ms
10,008 KB
testcase_05 WA -
testcase_06 AC 29 ms
10,056 KB
testcase_07 AC 28 ms
10,020 KB
testcase_08 AC 27 ms
10,008 KB
testcase_09 AC 27 ms
10,016 KB
testcase_10 AC 68 ms
22,092 KB
testcase_11 WA -
testcase_12 AC 36 ms
12,612 KB
testcase_13 AC 58 ms
20,700 KB
testcase_14 AC 64 ms
21,272 KB
testcase_15 AC 49 ms
16,224 KB
testcase_16 AC 30 ms
11,064 KB
testcase_17 AC 66 ms
21,844 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 70 ms
28,008 KB
testcase_24 AC 64 ms
17,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
import math
n = int(input())
xx = Counter(map(int,input().split()))

print(max(math.ceil(n/2), max(xx.values())))
0