結果
問題 |
No.79 過小評価ダメ・ゼッタイ
|
ユーザー |
|
提出日時 | 2021-05-07 08:54:07 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 199 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 80,640 KB |
最終ジャッジ日時 | 2024-09-14 22:03:15 |
合計ジャッジ時間 | 2,590 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 18 WA * 4 |
ソースコード
from collections import Counter N = int(input()) L = list(map(int,input().split())) d = Counter(L) max_v = 0 level = 0 for key in d: if d[key] >= max_v and key > level: max_v = d[key] level = key print(level)