結果
| 問題 | No.79 過小評価ダメ・ゼッタイ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-08 18:50:29 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 76 ms / 5,000 ms |
| + 252µs | |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 95,856 KB |
| 実行使用メモリ | 96,256 KB |
| 最終ジャッジ日時 | 2026-08-08 18:50:37 |
| 合計ジャッジ時間 | 3,653 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
N = int(input())
L = list(map(int, input().split()))
cnt = [0] * (6 + 1)
for l in L:
cnt[l] += 1
M = max(cnt)
for i in range(6, 0, -1):
if cnt[i] == M:
exit(print(i))