結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー yuppe19 😺yuppe19 😺
提出日時 2015-12-21 21:49:45
言語 Python2
(2.7.18)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 204 bytes
コンパイル時間 443 ms
コンパイル使用メモリ 6,564 KB
実行使用メモリ 7,676 KB
最終ジャッジ日時 2023-09-08 14:40:56
合計ジャッジ時間 2,390 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
6,316 KB
testcase_01 AC 71 ms
7,552 KB
testcase_02 AC 12 ms
6,352 KB
testcase_03 AC 16 ms
6,276 KB
testcase_04 AC 12 ms
6,356 KB
testcase_05 AC 72 ms
7,636 KB
testcase_06 AC 13 ms
6,276 KB
testcase_07 AC 12 ms
6,204 KB
testcase_08 AC 13 ms
6,208 KB
testcase_09 AC 12 ms
6,276 KB
testcase_10 AC 13 ms
6,208 KB
testcase_11 AC 13 ms
6,288 KB
testcase_12 AC 12 ms
6,204 KB
testcase_13 AC 13 ms
6,320 KB
testcase_14 AC 47 ms
7,060 KB
testcase_15 AC 28 ms
6,664 KB
testcase_16 AC 59 ms
7,476 KB
testcase_17 AC 27 ms
6,600 KB
testcase_18 AC 57 ms
7,544 KB
testcase_19 AC 45 ms
6,936 KB
testcase_20 AC 72 ms
7,580 KB
testcase_21 AC 14 ms
6,376 KB
testcase_22 AC 33 ms
6,980 KB
testcase_23 AC 69 ms
7,668 KB
testcase_24 AC 70 ms
7,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/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