結果
問題 | No.79 過小評価ダメ・ゼッタイ |
ユーザー |
|
提出日時 | 2022-02-02 12:07:14 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 60 ms / 5,000 ms |
コード長 | 159 bytes |
コンパイル時間 | 170 ms |
コンパイル使用メモリ | 82,816 KB |
実行使用メモリ | 72,832 KB |
最終ジャッジ日時 | 2024-06-11 09:20:46 |
合計ジャッジ時間 | 2,312 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
from collections import Counter n = int(input()) an = sorted(Counter(map(int,input().split())).items(),key=lambda x : (x[1],x[0]),reverse=True) print(an[0][0])