結果
| 問題 |
No.79 過小評価ダメ・ゼッタイ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-22 14:58:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 60 ms / 5,000 ms |
| コード長 | 205 bytes |
| コンパイル時間 | 258 ms |
| コンパイル使用メモリ | 82,100 KB |
| 実行使用メモリ | 78,332 KB |
| 最終ジャッジ日時 | 2024-10-10 11:43:16 |
| 合計ジャッジ時間 | 2,756 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
N = int(input())
lsL = list(map(int,input().split()))
cnter = [0]*7
for i in range(N):
cnter[lsL[i]] += 1
maxl = max(cnter)
ans = 0
for i in range(7):
if maxl==cnter[i]:
ans = i
print(ans)