結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー No-RaNo-Ra
提出日時 2017-08-23 21:14:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 45 ms / 5,000 ms
コード長 293 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,544 KB
実行使用メモリ 10,448 KB
最終ジャッジ日時 2023-09-08 15:13:47
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,576 KB
testcase_01 AC 45 ms
10,448 KB
testcase_02 AC 19 ms
8,612 KB
testcase_03 AC 18 ms
8,500 KB
testcase_04 AC 18 ms
8,512 KB
testcase_05 AC 44 ms
10,304 KB
testcase_06 AC 18 ms
8,440 KB
testcase_07 AC 18 ms
8,440 KB
testcase_08 AC 18 ms
8,496 KB
testcase_09 AC 19 ms
8,524 KB
testcase_10 AC 18 ms
8,596 KB
testcase_11 AC 19 ms
8,404 KB
testcase_12 AC 19 ms
8,460 KB
testcase_13 AC 19 ms
8,644 KB
testcase_14 AC 33 ms
9,300 KB
testcase_15 AC 24 ms
8,988 KB
testcase_16 AC 38 ms
9,840 KB
testcase_17 AC 24 ms
9,000 KB
testcase_18 AC 37 ms
10,016 KB
testcase_19 AC 31 ms
9,368 KB
testcase_20 AC 43 ms
10,316 KB
testcase_21 AC 18 ms
8,512 KB
testcase_22 AC 27 ms
8,988 KB
testcase_23 AC 42 ms
10,000 KB
testcase_24 AC 42 ms
10,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
from collections import OrderedDict
N = int(input())
listL = [int(i) for i in input().split()]

counter = Counter(listL)
counter = OrderedDict(sorted(counter.items()))
counter = sorted(counter.items(), key=lambda x: x[1])
counter.reverse()
print(counter[0][0])
0