結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー nebukuro09nebukuro09
提出日時 2016-09-28 10:21:13
言語 Python2
(2.7.18)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 205 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 6,628 KB
実行使用メモリ 7,776 KB
最終ジャッジ日時 2023-09-08 14:59:27
合計ジャッジ時間 2,226 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
6,596 KB
testcase_01 AC 71 ms
7,772 KB
testcase_02 AC 14 ms
6,460 KB
testcase_03 AC 13 ms
6,364 KB
testcase_04 AC 13 ms
6,368 KB
testcase_05 AC 73 ms
7,704 KB
testcase_06 AC 14 ms
6,412 KB
testcase_07 AC 13 ms
6,412 KB
testcase_08 AC 14 ms
6,424 KB
testcase_09 AC 13 ms
6,448 KB
testcase_10 AC 14 ms
6,532 KB
testcase_11 AC 13 ms
6,464 KB
testcase_12 AC 14 ms
6,496 KB
testcase_13 AC 13 ms
6,544 KB
testcase_14 AC 49 ms
7,244 KB
testcase_15 AC 28 ms
6,764 KB
testcase_16 AC 59 ms
7,648 KB
testcase_17 AC 27 ms
6,632 KB
testcase_18 AC 57 ms
7,528 KB
testcase_19 AC 46 ms
7,204 KB
testcase_20 AC 72 ms
7,704 KB
testcase_21 AC 14 ms
6,376 KB
testcase_22 AC 34 ms
7,064 KB
testcase_23 AC 68 ms
7,776 KB
testcase_24 AC 71 ms
7,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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
0