結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー 学ぶマン
提出日時 2025-08-01 21:57:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 5,000 ms
コード長 181 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 82,888 KB
実行使用メモリ 79,404 KB
最終ジャッジ日時 2025-08-01 21:57:49
合計ジャッジ時間 2,694 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = list(map(int, input().split()))

cnt = [0]*7
for l in L:
    cnt[l] += 1

M = max(cnt)
for i in range(6, 0, -1):
    if cnt[i] == M:
        exit(print(i))
    
0