結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー mayoko_mayoko_
提出日時 2017-04-17 18:57:49
言語 Python2
(2.7.18)
結果
AC  
実行時間 60 ms / 5,000 ms
コード長 139 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 6,664 KB
実行使用メモリ 7,432 KB
最終ジャッジ日時 2023-09-08 15:06:41
合計ジャッジ時間 2,019 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
6,224 KB
testcase_01 AC 59 ms
7,432 KB
testcase_02 AC 12 ms
6,064 KB
testcase_03 AC 12 ms
5,996 KB
testcase_04 AC 12 ms
6,084 KB
testcase_05 AC 60 ms
7,328 KB
testcase_06 AC 12 ms
5,988 KB
testcase_07 AC 12 ms
6,032 KB
testcase_08 AC 12 ms
6,116 KB
testcase_09 AC 12 ms
5,952 KB
testcase_10 AC 11 ms
5,988 KB
testcase_11 AC 12 ms
6,040 KB
testcase_12 AC 12 ms
6,072 KB
testcase_13 AC 12 ms
6,084 KB
testcase_14 AC 40 ms
6,836 KB
testcase_15 AC 24 ms
6,208 KB
testcase_16 AC 48 ms
7,252 KB
testcase_17 AC 22 ms
6,328 KB
testcase_18 AC 46 ms
7,280 KB
testcase_19 AC 38 ms
6,824 KB
testcase_20 AC 59 ms
7,320 KB
testcase_21 AC 13 ms
6,024 KB
testcase_22 AC 29 ms
6,684 KB
testcase_23 AC 56 ms
7,356 KB
testcase_24 AC 57 ms
7,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
L = map(int, raw_input().split())
cnt = [[0,i] for i in range(6)]
for el in L:
	cnt[el-1][0] += 1
cnt.sort()
print cnt[-1][1]+1
0