結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー yohei-kuyohei-ku
提出日時 2018-03-28 00:26:43
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 248 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 6,696 KB
実行使用メモリ 9,864 KB
最終ジャッジ日時 2023-09-07 19:15:47
合計ジャッジ時間 2,639 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
6,308 KB
testcase_01 AC 143 ms
9,732 KB
testcase_02 AC 12 ms
6,068 KB
testcase_03 AC 12 ms
6,096 KB
testcase_04 AC 12 ms
6,064 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 10 ms
6,008 KB
testcase_08 AC 11 ms
6,064 KB
testcase_09 AC 11 ms
5,976 KB
testcase_10 AC 10 ms
6,156 KB
testcase_11 AC 11 ms
6,204 KB
testcase_12 AC 12 ms
5,964 KB
testcase_13 AC 12 ms
6,004 KB
testcase_14 AC 89 ms
8,260 KB
testcase_15 AC 44 ms
6,932 KB
testcase_16 AC 112 ms
8,744 KB
testcase_17 AC 41 ms
6,768 KB
testcase_18 AC 107 ms
8,808 KB
testcase_19 AC 81 ms
7,848 KB
testcase_20 AC 142 ms
9,864 KB
testcase_21 AC 14 ms
6,116 KB
testcase_22 AC 56 ms
7,120 KB
testcase_23 WA -
testcase_24 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N =input()
AA = list(map(int,raw_input().split()))
A = [0 for i in range(6)]
for i in range(0,N):
    for j in range(1,7):
        if AA[i] == j:
            A[j-1] += 1
for i in range(5,0,-1):
    if max(A) == A[i]:
        print i+1
        break
0