結果
問題 |
No.79 過小評価ダメ・ゼッタイ
|
ユーザー |
|
提出日時 | 2015-12-21 21:49:45 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 75 ms / 5,000 ms |
コード長 | 204 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 8,320 KB |
最終ジャッジ日時 | 2024-06-26 07:45:58 |
合計ジャッジ時間 | 1,840 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#!/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