結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー brthyyjpbrthyyjp
提出日時 2020-12-03 01:37:15
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 92 ms / 5,000 ms
コード長 179 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 86,720 KB
実行使用メモリ 89,032 KB
最終ジャッジ日時 2023-10-11 12:13:06
合計ジャッジ時間 3,682 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
76,216 KB
testcase_01 AC 92 ms
88,944 KB
testcase_02 AC 72 ms
71,500 KB
testcase_03 AC 73 ms
71,228 KB
testcase_04 AC 74 ms
71,148 KB
testcase_05 AC 92 ms
89,032 KB
testcase_06 AC 75 ms
71,160 KB
testcase_07 AC 74 ms
71,340 KB
testcase_08 AC 73 ms
71,344 KB
testcase_09 AC 73 ms
71,352 KB
testcase_10 AC 71 ms
71,232 KB
testcase_11 AC 73 ms
71,232 KB
testcase_12 AC 72 ms
71,452 KB
testcase_13 AC 74 ms
71,288 KB
testcase_14 AC 85 ms
83,244 KB
testcase_15 AC 81 ms
77,604 KB
testcase_16 AC 87 ms
85,504 KB
testcase_17 AC 79 ms
76,960 KB
testcase_18 AC 87 ms
85,648 KB
testcase_19 AC 84 ms
81,872 KB
testcase_20 AC 92 ms
88,780 KB
testcase_21 AC 77 ms
76,192 KB
testcase_22 AC 81 ms
78,868 KB
testcase_23 AC 91 ms
88,832 KB
testcase_24 AC 90 ms
88,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
L = list(map(int, input().split()))
C = [0]*7
for l in L:
    C[l] += 1
M = max(C)
for i in reversed(range(7)):
    if C[i] == M:
        print(i)
        exit()
0