結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー kkron4221kkron4221
提出日時 2020-05-10 09:13:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 272 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 10,032 KB
最終ジャッジ日時 2023-09-21 10:29:49
合計ジャッジ時間 2,152 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,876 KB
testcase_01 AC 42 ms
10,032 KB
testcase_02 AC 15 ms
7,780 KB
testcase_03 AC 15 ms
7,816 KB
testcase_04 WA -
testcase_05 AC 40 ms
10,024 KB
testcase_06 AC 15 ms
7,780 KB
testcase_07 WA -
testcase_08 AC 15 ms
7,760 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 14 ms
7,792 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 30 ms
9,048 KB
testcase_15 WA -
testcase_16 AC 35 ms
9,332 KB
testcase_17 AC 22 ms
8,576 KB
testcase_18 AC 35 ms
9,452 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 15 ms
7,792 KB
testcase_22 AC 25 ms
8,780 KB
testcase_23 AC 39 ms
9,636 KB
testcase_24 AC 41 ms
9,900 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

level_list = []
max_num = 0

for i in range(6):
    level_list.append(0)
    
N = int(input())

L = [int(x) for x in input().split()]


for k in range(6):
    list_num = L.count(k)
    if list_num >= max_num:
        max_num = list_num
        ans = k
        

print(ans)
0