結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー ytftytft
提出日時 2022-11-08 07:14:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 5,000 ms
コード長 195 bytes
コンパイル時間 1,408 ms
コンパイル使用メモリ 86,908 KB
実行使用メモリ 89,172 KB
最終ジャッジ日時 2023-09-28 19:08:32
合計ジャッジ時間 3,834 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
76,480 KB
testcase_01 AC 97 ms
88,808 KB
testcase_02 AC 77 ms
71,352 KB
testcase_03 AC 78 ms
71,556 KB
testcase_04 AC 78 ms
71,556 KB
testcase_05 AC 98 ms
88,696 KB
testcase_06 AC 77 ms
71,476 KB
testcase_07 AC 76 ms
71,356 KB
testcase_08 AC 78 ms
71,396 KB
testcase_09 AC 80 ms
71,480 KB
testcase_10 AC 78 ms
71,560 KB
testcase_11 AC 79 ms
71,424 KB
testcase_12 AC 78 ms
71,476 KB
testcase_13 AC 79 ms
71,684 KB
testcase_14 AC 90 ms
83,120 KB
testcase_15 AC 84 ms
77,604 KB
testcase_16 AC 93 ms
85,700 KB
testcase_17 AC 84 ms
77,112 KB
testcase_18 AC 92 ms
85,804 KB
testcase_19 AC 89 ms
81,984 KB
testcase_20 AC 98 ms
89,172 KB
testcase_21 AC 84 ms
76,564 KB
testcase_22 AC 86 ms
78,996 KB
testcase_23 AC 98 ms
89,152 KB
testcase_24 AC 97 ms
88,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda:sys.stdin.readline().rstrip()
N=int(input())
L=list(map(int,input().split()))
count=[0 for i in range(6)]
for i in L:
	count[i-1]+=1
print(6-count[::-1].index(max(count)))
0