結果

問題 No.79 過小評価ダメ・ゼッタイ
コンテスト
ユーザー ytft
提出日時 2022-11-08 07:14:19
言語 PyPy3
(7.3.23 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 68 ms / 5,000 ms
+ 307µs
コード長 195 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 239 ms
コンパイル使用メモリ 96,100 KB
実行使用メモリ 96,584 KB
最終ジャッジ日時 2026-08-21 19:33:52
合計ジャッジ時間 4,139 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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