結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー liny_tailliny_tail
提出日時 2020-06-20 11:49:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 44 ms / 5,000 ms
コード長 206 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 10,420 KB
最終ジャッジ日時 2023-09-16 17:05:58
合計ジャッジ時間 1,828 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,648 KB
testcase_01 AC 44 ms
10,332 KB
testcase_02 AC 20 ms
8,436 KB
testcase_03 AC 19 ms
8,560 KB
testcase_04 AC 18 ms
8,520 KB
testcase_05 AC 44 ms
10,328 KB
testcase_06 AC 18 ms
8,516 KB
testcase_07 AC 18 ms
8,580 KB
testcase_08 AC 19 ms
8,376 KB
testcase_09 AC 18 ms
8,560 KB
testcase_10 AC 18 ms
8,576 KB
testcase_11 AC 19 ms
8,576 KB
testcase_12 AC 18 ms
8,584 KB
testcase_13 AC 18 ms
8,576 KB
testcase_14 AC 33 ms
9,304 KB
testcase_15 AC 24 ms
9,064 KB
testcase_16 AC 38 ms
9,880 KB
testcase_17 AC 24 ms
8,940 KB
testcase_18 AC 36 ms
10,076 KB
testcase_19 AC 32 ms
9,416 KB
testcase_20 AC 43 ms
10,332 KB
testcase_21 AC 19 ms
8,556 KB
testcase_22 AC 27 ms
9,056 KB
testcase_23 AC 41 ms
9,984 KB
testcase_24 AC 43 ms
10,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections

N = int(input())

L = [int(i) for i in input().strip().split(' ')]
c = collections.Counter(L)

print('{}'.format(max([n for n, i in zip(c.keys(), c.values()) if i == max(c.values())])))
0