結果

問題 No.921 ずんだアロー
ユーザー deideirodeideiro
提出日時 2019-11-25 18:01:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 190 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 25,296 KB
最終ジャッジ日時 2024-04-21 13:08:31
合計ジャッジ時間 2,927 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,752 KB
testcase_01 AC 31 ms
10,624 KB
testcase_02 AC 32 ms
10,624 KB
testcase_03 AC 31 ms
10,624 KB
testcase_04 AC 31 ms
10,624 KB
testcase_05 WA -
testcase_06 AC 31 ms
10,752 KB
testcase_07 AC 30 ms
10,752 KB
testcase_08 AC 31 ms
10,752 KB
testcase_09 AC 31 ms
10,752 KB
testcase_10 AC 83 ms
20,096 KB
testcase_11 WA -
testcase_12 AC 41 ms
13,696 KB
testcase_13 AC 67 ms
19,252 KB
testcase_14 AC 73 ms
19,976 KB
testcase_15 AC 54 ms
17,180 KB
testcase_16 AC 34 ms
11,648 KB
testcase_17 AC 74 ms
20,988 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 81 ms
25,296 KB
testcase_24 AC 74 ms
20,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yukicoder 921 ずんだアロー
import math
from collections import Counter
N = int(input())
A = list(map(int,input().split()))
C = Counter(A)
print(max(math.ceil(N / 2),max(C.values())))
0