結果
| 問題 |
No.79 過小評価ダメ・ゼッタイ
|
| コンテスト | |
| ユーザー |
ohana
|
| 提出日時 | 2023-10-20 11:49:36 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 185 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 80,384 KB |
| 最終ジャッジ日時 | 2024-09-20 07:21:54 |
| 合計ジャッジ時間 | 2,811 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 WA * 2 |
ソースコード
from collections import Counter
n = int(input())
A = list(map(int, input().split()))
mx, ind = 0, 0
D = Counter(A)
for d in D:
if D[d] >= mx:
mx, ind = D[d], d
print(ind)
ohana