結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー JunOnumaJunOnuma
提出日時 2017-06-13 13:42:48
言語 Python2
(2.7.18)
結果
AC  
実行時間 63 ms / 5,000 ms
コード長 135 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 6,512 KB
実行使用メモリ 7,344 KB
最終ジャッジ日時 2023-09-08 15:10:51
合計ジャッジ時間 1,899 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
6,012 KB
testcase_01 AC 63 ms
7,324 KB
testcase_02 AC 11 ms
5,956 KB
testcase_03 AC 11 ms
5,928 KB
testcase_04 AC 11 ms
6,044 KB
testcase_05 AC 59 ms
7,344 KB
testcase_06 AC 11 ms
5,984 KB
testcase_07 AC 11 ms
6,016 KB
testcase_08 AC 11 ms
6,084 KB
testcase_09 AC 11 ms
5,852 KB
testcase_10 AC 11 ms
6,036 KB
testcase_11 AC 11 ms
5,976 KB
testcase_12 AC 11 ms
6,036 KB
testcase_13 AC 11 ms
5,952 KB
testcase_14 AC 41 ms
6,712 KB
testcase_15 AC 23 ms
6,152 KB
testcase_16 AC 48 ms
7,036 KB
testcase_17 AC 22 ms
6,148 KB
testcase_18 AC 47 ms
7,112 KB
testcase_19 AC 37 ms
6,760 KB
testcase_20 AC 58 ms
7,316 KB
testcase_21 AC 12 ms
6,116 KB
testcase_22 AC 29 ms
6,544 KB
testcase_23 AC 57 ms
7,284 KB
testcase_24 AC 58 ms
7,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
l = map(int, raw_input().split())
p = [0 for _ in range(6)]
for i in l:
    p[6-i] += 1
print 6 - p.index(max(p))
0