結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー yuki2006yuki2006
提出日時 2014-11-27 22:50:50
言語 Python2
(2.7.18)
結果
AC  
実行時間 57 ms / 5,000 ms
コード長 202 bytes
コンパイル時間 872 ms
コンパイル使用メモリ 6,708 KB
実行使用メモリ 7,308 KB
最終ジャッジ日時 2023-09-08 14:04:54
合計ジャッジ時間 3,115 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
6,144 KB
testcase_01 AC 55 ms
7,200 KB
testcase_02 AC 11 ms
6,000 KB
testcase_03 AC 11 ms
6,036 KB
testcase_04 AC 10 ms
5,988 KB
testcase_05 AC 56 ms
7,248 KB
testcase_06 AC 11 ms
6,000 KB
testcase_07 AC 10 ms
6,044 KB
testcase_08 AC 10 ms
5,844 KB
testcase_09 AC 10 ms
6,044 KB
testcase_10 AC 10 ms
6,000 KB
testcase_11 AC 10 ms
6,120 KB
testcase_12 AC 10 ms
5,892 KB
testcase_13 AC 10 ms
5,988 KB
testcase_14 AC 38 ms
6,632 KB
testcase_15 AC 23 ms
6,316 KB
testcase_16 AC 46 ms
7,208 KB
testcase_17 AC 21 ms
6,136 KB
testcase_18 AC 45 ms
7,152 KB
testcase_19 AC 35 ms
6,680 KB
testcase_20 AC 57 ms
7,308 KB
testcase_21 AC 12 ms
5,912 KB
testcase_22 AC 26 ms
6,432 KB
testcase_23 AC 53 ms
7,252 KB
testcase_24 AC 55 ms
7,292 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
count = [0] * 7
for i in map(int, raw_input().split()):
    count[i] += 1

mx = max(count)

for i in xrange(6, 0, -1):
    if count[i] == mx:
        print i
        break
0