結果

問題 No.79 過小評価ダメ・ゼッタイ
コンテスト
ユーザー yuppe19 😺
提出日時 2015-12-21 21:49:45
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 118 ms / 5,000 ms
コード長 204 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 152 ms
コンパイル使用メモリ 77,708 KB
最終ジャッジ日時 2025-12-03 18:51:22
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#!/usr/bin/python
from collections import Counter

n = int(raw_input())
L = map(int, raw_input().split())
cnt = Counter(L)
haa = max(cnt.values())
res = max(k for k, v in cnt.items() if v==haa)
print res
0