結果
| 問題 | No.79 過小評価ダメ・ゼッタイ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-28 10:21:13 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 147 ms / 5,000 ms |
| コード長 | 205 bytes |
| 記録 | |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 77,640 KB |
| 最終ジャッジ日時 | 2025-12-03 21:38:31 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
from collections import Counter
N = input()
c = Counter(map(int, raw_input().split()))
max_v = -1
max_n = -1
for i in xrange(1, 7):
if c[i] >= max_v:
max_v = c[i]
max_n = i
print max_n