結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー roiti46
提出日時 2014-12-17 00:34:12
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 230 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 10,480 KB
最終ジャッジ日時 2024-06-11 22:06:00
合計ジャッジ時間 2,038 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 RE * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
N = int(raw_input())
poll = [0]*N
for i in map(int,raw_input().split()):
    poll[i-1] += 1
mx = max(poll)
for i in range(N-1,-1,-1):
    if poll[i] == mx:
        print i+1
        break
0