結果
| 問題 |
No.79 過小評価ダメ・ゼッタイ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-07 21:14:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 61 ms / 5,000 ms |
| コード長 | 203 bytes |
| コンパイル時間 | 353 ms |
| コンパイル使用メモリ | 82,276 KB |
| 実行使用メモリ | 81,780 KB |
| 最終ジャッジ日時 | 2024-06-22 08:16:21 |
| 合計ジャッジ時間 | 2,389 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
n = int(input())
l = list(map(int, input().split()))
cnt = [0] * 10 ** 5
for i in l:
cnt[i - 1] += 1
ma = max(cnt)
for i in reversed(range(10 ** 5)):
if cnt[i] == ma:
exit(print(i + 1))