結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー rocoderrocoder
提出日時 2017-06-14 22:09:49
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 11,712 KB
実行使用メモリ 11,988 KB
最終ジャッジ日時 2023-10-25 03:52:59
合計ジャッジ時間 2,419 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 64 ms
11,988 KB
testcase_02 AC 29 ms
10,044 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 64 ms
11,840 KB
testcase_06 AC 29 ms
10,044 KB
testcase_07 AC 31 ms
10,044 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 28 ms
10,044 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 51 ms
10,876 KB
testcase_15 AC 38 ms
10,516 KB
testcase_16 AC 55 ms
11,292 KB
testcase_17 AC 38 ms
10,464 KB
testcase_18 AC 55 ms
11,084 KB
testcase_19 AC 50 ms
10,980 KB
testcase_20 AC 65 ms
11,840 KB
testcase_21 AC 30 ms
10,084 KB
testcase_22 AC 42 ms
10,552 KB
testcase_23 AC 63 ms
11,820 KB
testcase_24 AC 64 ms
11,920 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# your code goes here
N=int(input())
L=[int(i) for i in input().split()]
V=[0]*7
for i in range(N):
    V[L[i]]+=1
m=0
for i in range(7):
    if m<V[i]:
        m=V[i]
        a=i
print(a)
0