結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー togatogatogatoga
提出日時 2015-08-20 08:35:51
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 191 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 6,660 KB
実行使用メモリ 7,472 KB
最終ジャッジ日時 2023-09-25 13:45:24
合計ジャッジ時間 2,241 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 11 ms
5,944 KB
testcase_03 AC 11 ms
6,072 KB
testcase_04 AC 11 ms
6,060 KB
testcase_05 AC 95 ms
7,376 KB
testcase_06 AC 11 ms
5,944 KB
testcase_07 AC 11 ms
5,956 KB
testcase_08 WA -
testcase_09 AC 12 ms
5,944 KB
testcase_10 AC 12 ms
6,060 KB
testcase_11 AC 12 ms
6,120 KB
testcase_12 AC 11 ms
5,952 KB
testcase_13 AC 12 ms
5,976 KB
testcase_14 WA -
testcase_15 AC 26 ms
6,364 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 45 ms
6,696 KB
testcase_20 AC 73 ms
7,376 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=input()
L = map(int, raw_input().split())
deg = [0] * 7
ans = 0
index = 0
for x in L:
    deg[x] += 1
    if (ans <= deg[x]):
        ans = deg[x]
        index = max(index, x)
print index
0