結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー 田中龍仁
提出日時 2022-02-07 21:34:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 196 bytes
コンパイル時間 240 ms
コンパイル使用メモリ 82,108 KB
実行使用メモリ 78,468 KB
最終ジャッジ日時 2024-06-22 09:11:58
合計ジャッジ時間 2,255 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = list(map(int,input().split()))

max = 0
L.sort()
L2 = sorted(list(set(L)))

for i in L2:
    if max <= L.count(i):
        max = L.count(i)
        ans = i
        
print(ans)
0