結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー ytft
提出日時 2022-11-08 07:14:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 5,000 ms
コード長 195 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 82,132 KB
実行使用メモリ 77,696 KB
最終ジャッジ日時 2024-07-21 13:50:22
合計ジャッジ時間 2,606 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
N=int(input())
L=list(map(int,input().split()))
count=[0 for i in range(6)]
for i in L:
	count[i-1]+=1
print(6-count[::-1].index(max(count)))
0