結果

問題 No.79 過小評価ダメ・ゼッタイ
ユーザー soupesuteakasoupesuteaka
提出日時 2016-03-03 19:03:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 45 ms / 5,000 ms
コード長 314 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 10,764 KB
最終ジャッジ日時 2023-09-08 14:47:06
合計ジャッジ時間 1,893 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
8,860 KB
testcase_01 AC 45 ms
10,764 KB
testcase_02 AC 20 ms
8,716 KB
testcase_03 AC 20 ms
8,836 KB
testcase_04 AC 20 ms
8,860 KB
testcase_05 AC 45 ms
10,588 KB
testcase_06 AC 20 ms
8,632 KB
testcase_07 AC 20 ms
8,812 KB
testcase_08 AC 20 ms
8,852 KB
testcase_09 AC 20 ms
8,720 KB
testcase_10 AC 20 ms
8,708 KB
testcase_11 AC 20 ms
8,676 KB
testcase_12 AC 19 ms
8,788 KB
testcase_13 AC 21 ms
8,836 KB
testcase_14 AC 35 ms
9,600 KB
testcase_15 AC 26 ms
9,116 KB
testcase_16 AC 39 ms
10,116 KB
testcase_17 AC 26 ms
9,168 KB
testcase_18 AC 39 ms
9,804 KB
testcase_19 AC 33 ms
9,592 KB
testcase_20 AC 45 ms
10,500 KB
testcase_21 AC 20 ms
8,652 KB
testcase_22 AC 29 ms
9,332 KB
testcase_23 AC 44 ms
10,092 KB
testcase_24 AC 44 ms
10,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: UTF-8

import sys
from math import pi
from collections import deque
from functools import reduce

### defs ###

### main ###
N = int(sys.stdin.readline())
L = list(map(int, sys.stdin.readline().split()))

cnt = [L.count(i) for i in range(1,7)]
cnt.reverse()
mx = max(cnt)
idx = cnt.index(mx)
print(6-idx)
0