結果

問題 No.182 新規性の虜
ユーザー ktshun
提出日時 2015-05-28 17:20:14
言語 Python2
(2.7.18)
結果
AC  
実行時間 167 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 752 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 27,900 KB
最終ジャッジ日時 2024-12-26 19:15:21
合計ジャッジ時間 4,217 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding:utf-8 -*-
from collections import Counter

if __name__ == "__main__":
	n = input()
	nums = map(int,raw_input().split())
	count = Counter(nums)
	ans = 0
	for i, cnt in count.most_common()[::-1]:
		if cnt == 1:
			ans += 1
		else:
			break
	print ans
0