結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー yuki2006yuki2006
提出日時 2014-11-27 22:47:05
言語 Python2
(2.7.18)
結果
AC  
実行時間 81 ms / 5,000 ms
コード長 217 bytes
コンパイル時間 43 ms
コンパイル使用メモリ 6,680 KB
実行使用メモリ 7,388 KB
最終ジャッジ日時 2023-09-08 14:04:59
合計ジャッジ時間 1,860 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
5,960 KB
testcase_01 AC 77 ms
7,292 KB
testcase_02 AC 11 ms
5,904 KB
testcase_03 AC 11 ms
5,992 KB
testcase_04 AC 11 ms
5,868 KB
testcase_05 AC 81 ms
7,272 KB
testcase_06 AC 11 ms
5,936 KB
testcase_07 AC 10 ms
6,116 KB
testcase_08 AC 11 ms
5,860 KB
testcase_09 AC 11 ms
5,868 KB
testcase_10 AC 11 ms
5,868 KB
testcase_11 AC 10 ms
5,892 KB
testcase_12 AC 11 ms
5,944 KB
testcase_13 AC 11 ms
5,892 KB
testcase_14 AC 50 ms
6,636 KB
testcase_15 AC 28 ms
6,288 KB
testcase_16 AC 61 ms
7,172 KB
testcase_17 AC 26 ms
6,140 KB
testcase_18 AC 59 ms
7,060 KB
testcase_19 AC 47 ms
6,588 KB
testcase_20 AC 79 ms
7,388 KB
testcase_21 AC 12 ms
6,016 KB
testcase_22 AC 34 ms
6,652 KB
testcase_23 AC 73 ms
7,328 KB
testcase_24 AC 75 ms
7,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
count = [0] * 7
mx = 0
for i in map(int, raw_input().split()):
    count[i] += 1
    mx = max(mx, count[i])
for i in xrange(6, 0, -1):
    if count[i] == mx:
        print i
        break
0