結果
| 問題 | No.79 過小評価ダメ・ゼッタイ |
| コンテスト | |
| ユーザー |
yaoshimax
|
| 提出日時 | 2015-03-01 20:18:06 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 5,000 ms |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 128 ms |
| コンパイル使用メモリ | 77,984 KB |
| 最終ジャッジ日時 | 2025-12-03 14:19:20 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
N=int(raw_input())
L=map(int,raw_input().split())
cnt = [0 for i in range(7)]
maxCnt=0
for l in L:
cnt[l]+=1
maxCnt=max(maxCnt,cnt[l])
for l in range(6,0,-1):
if cnt[l]==maxCnt:
print l
exit()
yaoshimax