結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー harurunharurun
提出日時 2022-02-26 18:48:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 179 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 10,400 KB
最終ジャッジ日時 2023-09-17 21:15:23
合計ジャッジ時間 1,759 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,468 KB
testcase_01 AC 40 ms
10,384 KB
testcase_02 AC 18 ms
8,396 KB
testcase_03 AC 19 ms
8,356 KB
testcase_04 AC 18 ms
8,420 KB
testcase_05 AC 40 ms
10,252 KB
testcase_06 AC 18 ms
8,364 KB
testcase_07 AC 18 ms
8,316 KB
testcase_08 AC 17 ms
8,496 KB
testcase_09 AC 18 ms
8,476 KB
testcase_10 AC 18 ms
8,476 KB
testcase_11 AC 18 ms
8,444 KB
testcase_12 AC 18 ms
8,480 KB
testcase_13 AC 18 ms
8,424 KB
testcase_14 AC 31 ms
9,288 KB
testcase_15 AC 24 ms
8,928 KB
testcase_16 AC 35 ms
9,792 KB
testcase_17 AC 23 ms
8,920 KB
testcase_18 AC 35 ms
9,964 KB
testcase_19 AC 30 ms
9,332 KB
testcase_20 AC 40 ms
10,260 KB
testcase_21 AC 19 ms
8,528 KB
testcase_22 AC 26 ms
8,956 KB
testcase_23 AC 38 ms
10,032 KB
testcase_24 AC 39 ms
10,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
N=int(input())
L=sorted(list(Counter(list(map(int,input().split()))).items()),key=lambda x:x[1])
cnt=L[-1][1]
print(max(i for i,j in L if j==cnt))
0