結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー aaaaaaaaaa2230
提出日時 2022-01-19 21:39:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 51 ms / 5,000 ms
コード長 170 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 82,720 KB
実行使用メモリ 70,144 KB
最終ジャッジ日時 2024-11-23 14:05:42
合計ジャッジ時間 2,316 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = [0]*7
for c in map(int,input().split()):
    ans[c] += 1

m = max(ans)
for i in range(7)[::-1]:
    if ans[i] == m:
        print(i)
        exit()
0