結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー nari11111nari11111
提出日時 2014-11-27 23:50:51
言語 Python2
(2.7.18)
結果
AC  
実行時間 60 ms / 5,000 ms
コード長 226 bytes
コンパイル時間 46 ms
コンパイル使用メモリ 6,516 KB
実行使用メモリ 7,384 KB
最終ジャッジ日時 2023-09-08 14:07:37
合計ジャッジ時間 1,704 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
6,184 KB
testcase_01 AC 60 ms
7,280 KB
testcase_02 AC 11 ms
6,044 KB
testcase_03 AC 10 ms
5,856 KB
testcase_04 AC 11 ms
5,844 KB
testcase_05 AC 58 ms
7,312 KB
testcase_06 AC 11 ms
5,932 KB
testcase_07 AC 11 ms
5,992 KB
testcase_08 AC 10 ms
5,864 KB
testcase_09 AC 11 ms
6,020 KB
testcase_10 AC 11 ms
5,860 KB
testcase_11 AC 10 ms
5,944 KB
testcase_12 AC 11 ms
6,048 KB
testcase_13 AC 10 ms
5,860 KB
testcase_14 AC 38 ms
6,708 KB
testcase_15 AC 22 ms
6,252 KB
testcase_16 AC 47 ms
7,024 KB
testcase_17 AC 21 ms
6,316 KB
testcase_18 AC 45 ms
7,000 KB
testcase_19 AC 36 ms
6,784 KB
testcase_20 AC 58 ms
7,356 KB
testcase_21 AC 12 ms
6,024 KB
testcase_22 AC 27 ms
6,620 KB
testcase_23 AC 55 ms
7,192 KB
testcase_24 AC 56 ms
7,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(raw_input())
l=map(int,raw_input().split())

nl = [0 for _ in xrange(7)]

for e in l:
    nl[e]+=1

# print nl

m = 0
ans = 0

for i,e in enumerate(nl):
    if m<=e:
        m=e
        ans=i

print ans
0