結果
| 問題 | No.79 過小評価ダメ・ゼッタイ |
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-20 11:51:18 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 83 ms / 5,000 ms |
| + 818µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 252 ms |
| コンパイル使用メモリ | 96,076 KB |
| 実行使用メモリ | 96,512 KB |
| 最終ジャッジ日時 | 2026-08-31 15:36:21 |
| 合計ジャッジ時間 | 4,297 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
from collections import Counter
n = int(input())
A = list(map(int, input().split()))
mx, ind = 0, 0
D = Counter(A)
for d in sorted(D.keys()):
if D[d] >= mx:
mx, ind = D[d], d
print(ind)
ohana