結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー alcoholampalcoholamp
提出日時 2019-10-30 23:24:04
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 50 ms / 5,000 ms
コード長 302 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,488 KB
実行使用メモリ 10,364 KB
最終ジャッジ日時 2023-10-12 23:55:08
合計ジャッジ時間 1,955 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,464 KB
testcase_01 AC 49 ms
10,364 KB
testcase_02 AC 18 ms
8,436 KB
testcase_03 AC 19 ms
8,480 KB
testcase_04 AC 19 ms
8,368 KB
testcase_05 AC 42 ms
10,360 KB
testcase_06 AC 18 ms
8,412 KB
testcase_07 AC 18 ms
8,468 KB
testcase_08 AC 19 ms
8,436 KB
testcase_09 AC 18 ms
8,528 KB
testcase_10 AC 19 ms
8,584 KB
testcase_11 AC 18 ms
8,608 KB
testcase_12 AC 19 ms
8,436 KB
testcase_13 AC 19 ms
8,616 KB
testcase_14 AC 37 ms
9,432 KB
testcase_15 AC 26 ms
8,980 KB
testcase_16 AC 43 ms
9,972 KB
testcase_17 AC 26 ms
9,040 KB
testcase_18 AC 41 ms
10,100 KB
testcase_19 AC 35 ms
9,340 KB
testcase_20 AC 50 ms
10,364 KB
testcase_21 AC 19 ms
8,568 KB
testcase_22 AC 29 ms
8,952 KB
testcase_23 AC 47 ms
10,128 KB
testcase_24 AC 48 ms
10,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

class Problem0079:
    def solve(this):
        n = int(input())
        l = list(map(int, input().split()))
        l = sorted(l, reverse=True)
        print(Counter(l).most_common()[0][0])
		
if __name__ == "__main__":
    problem = Problem0079()
    problem.solve()
0