結果

問題 No.79 過小評価ダメ・ゼッタイ
コンテスト
ユーザー ytft
提出日時 2022-11-08 07:14:19
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 55 ms / 5,000 ms
コード長 195 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 177 ms
コンパイル使用メモリ 85,396 KB
実行使用メモリ 78,748 KB
最終ジャッジ日時 2026-04-03 04:52:08
合計ジャッジ時間 6,140 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge4_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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