結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー rlangevinrlangevin
提出日時 2023-11-18 18:27:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 55 ms / 5,000 ms
コード長 166 bytes
コンパイル時間 363 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 78,588 KB
最終ジャッジ日時 2023-11-18 18:27:24
合計ジャッジ時間 2,783 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
59,700 KB
testcase_01 AC 52 ms
78,576 KB
testcase_02 AC 33 ms
53,332 KB
testcase_03 AC 33 ms
53,332 KB
testcase_04 AC 35 ms
53,332 KB
testcase_05 AC 54 ms
78,468 KB
testcase_06 AC 33 ms
53,332 KB
testcase_07 AC 34 ms
53,332 KB
testcase_08 AC 33 ms
53,332 KB
testcase_09 AC 36 ms
53,332 KB
testcase_10 AC 33 ms
53,332 KB
testcase_11 AC 34 ms
53,332 KB
testcase_12 AC 36 ms
53,332 KB
testcase_13 AC 35 ms
53,332 KB
testcase_14 AC 47 ms
70,612 KB
testcase_15 AC 41 ms
63,108 KB
testcase_16 AC 48 ms
73,388 KB
testcase_17 AC 40 ms
62,664 KB
testcase_18 AC 49 ms
73,260 KB
testcase_19 AC 47 ms
69,596 KB
testcase_20 AC 55 ms
78,588 KB
testcase_21 AC 40 ms
59,716 KB
testcase_22 AC 45 ms
64,556 KB
testcase_23 AC 55 ms
78,524 KB
testcase_24 AC 52 ms
78,556 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = [0] * 7
for i in list(map(int, input().split())):
	A[i] += 1
	
ans, ma = 0, 0
for i in range(7):
	if A[i] >= ma:
		ma = A[i]
		ans = i
print(ans)
0