結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー matriematrie
提出日時 2020-11-25 12:47:35
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 10,552 KB
実行使用メモリ 10,144 KB
最終ジャッジ日時 2023-10-01 01:44:54
合計ジャッジ時間 2,111 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 48 ms
10,144 KB
testcase_02 AC 16 ms
7,804 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 35 ms
9,944 KB
testcase_06 AC 17 ms
7,952 KB
testcase_07 AC 16 ms
7,816 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 16 ms
7,900 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 34 ms
8,992 KB
testcase_15 AC 23 ms
8,736 KB
testcase_16 AC 40 ms
9,524 KB
testcase_17 AC 24 ms
8,520 KB
testcase_18 AC 37 ms
9,464 KB
testcase_19 AC 31 ms
9,024 KB
testcase_20 AC 45 ms
9,952 KB
testcase_21 AC 18 ms
7,936 KB
testcase_22 AC 26 ms
8,688 KB
testcase_23 AC 41 ms
9,728 KB
testcase_24 AC 43 ms
9,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
l = list(map(int, input().split()))
s = set(l)
a = [0,0]
for i in s:
	#print(l,i,l.count(i))
	if l.count(i)>a[1]: a = [i, l.count(i)]
print(a[0])
0