結果
| 問題 |
No.79 過小評価ダメ・ゼッタイ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-28 10:21:13 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 75 ms / 5,000 ms |
| コード長 | 205 bytes |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 8,384 KB |
| 最終ジャッジ日時 | 2024-06-26 08:03:42 |
| 合計ジャッジ時間 | 1,838 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / 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