結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー pypypymipypypymi
提出日時 2022-02-02 12:07:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 102 ms / 5,000 ms
コード長 159 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 83,744 KB
最終ジャッジ日時 2023-09-02 02:42:34
合計ジャッジ時間 3,952 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
77,304 KB
testcase_01 AC 101 ms
83,744 KB
testcase_02 AC 80 ms
71,636 KB
testcase_03 AC 86 ms
71,572 KB
testcase_04 AC 83 ms
71,696 KB
testcase_05 AC 95 ms
83,460 KB
testcase_06 AC 84 ms
71,868 KB
testcase_07 AC 86 ms
71,452 KB
testcase_08 AC 84 ms
71,616 KB
testcase_09 AC 82 ms
71,780 KB
testcase_10 AC 82 ms
71,848 KB
testcase_11 AC 86 ms
71,596 KB
testcase_12 AC 86 ms
71,784 KB
testcase_13 AC 85 ms
71,884 KB
testcase_14 AC 96 ms
80,860 KB
testcase_15 AC 93 ms
78,060 KB
testcase_16 AC 100 ms
81,756 KB
testcase_17 AC 95 ms
77,944 KB
testcase_18 AC 100 ms
81,980 KB
testcase_19 AC 96 ms
80,276 KB
testcase_20 AC 102 ms
83,456 KB
testcase_21 AC 91 ms
77,112 KB
testcase_22 AC 90 ms
78,592 KB
testcase_23 AC 102 ms
83,472 KB
testcase_24 AC 102 ms
83,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
n = int(input())
an = sorted(Counter(map(int,input().split())).items(),key=lambda x : (x[1],x[0]),reverse=True)
print(an[0][0])
0