結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー gorugo30
提出日時 2021-02-22 21:30:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 64 ms / 5,000 ms
コード長 177 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 76,288 KB
最終ジャッジ日時 2024-09-21 17:04:12
合計ジャッジ時間 2,441 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = list(map(int, input().split()))
ans = 0
maxcnt = 0
for i in range(1, 7):
    if L.count(i) >= maxcnt:
        maxcnt = L.count(i)
        ans = i
print(ans)
0