結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー Ryuto
提出日時 2018-03-31 14:03:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 62 ms / 5,000 ms
コード長 230 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 73,856 KB
最終ジャッジ日時 2024-06-26 08:26:20
合計ジャッジ時間 2,387 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
from collections import Counter
n = int(input())
inval = [int(x) for x in input().split()]
tl = Counter(inval)
tl = sorted(tl.items(), key=lambda x: x[0])
tl = sorted(tl, key=lambda x: x[1])
print(tl[-1][0])
0