結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー MamonboMamonbo
提出日時 2015-10-15 15:32:56
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 53 ms / 5,000 ms
コード長 282 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 10,420 KB
最終ジャッジ日時 2023-09-08 14:38:39
合計ジャッジ時間 1,757 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,212 KB
testcase_01 AC 53 ms
10,420 KB
testcase_02 AC 15 ms
8,008 KB
testcase_03 AC 15 ms
7,848 KB
testcase_04 AC 14 ms
7,868 KB
testcase_05 AC 52 ms
10,120 KB
testcase_06 AC 15 ms
7,996 KB
testcase_07 AC 15 ms
7,980 KB
testcase_08 AC 15 ms
7,784 KB
testcase_09 AC 15 ms
7,812 KB
testcase_10 AC 15 ms
7,856 KB
testcase_11 AC 15 ms
7,784 KB
testcase_12 AC 15 ms
7,808 KB
testcase_13 AC 15 ms
7,776 KB
testcase_14 AC 37 ms
9,284 KB
testcase_15 AC 24 ms
8,588 KB
testcase_16 AC 43 ms
9,404 KB
testcase_17 AC 24 ms
8,484 KB
testcase_18 AC 41 ms
9,384 KB
testcase_19 AC 35 ms
9,240 KB
testcase_20 AC 51 ms
10,064 KB
testcase_21 AC 16 ms
7,968 KB
testcase_22 AC 28 ms
8,756 KB
testcase_23 AC 49 ms
9,828 KB
testcase_24 AC 50 ms
10,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding=UTF-8

N=int(input())
mojir=input()

hyo=mojir.split(' ')
L=[int(mono) for mono in hyo]

hindo=[0]*6
for myon in L:
    hindo[myon-1]=hindo[myon-1]+1

ans=0
ansde=0    
for idx in range(0,6,1):
    if hindo[idx]>=ansde:
        ans=idx
        ansde=hindo[idx]

print(ans+1)
0