結果

問題 No.182 新規性の虜
ユーザー ktshunktshun
提出日時 2015-05-28 17:20:14
言語 Python2
(2.7.18)
結果
AC  
実行時間 131 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 586 ms
コンパイル使用メモリ 6,644 KB
実行使用メモリ 27,644 KB
最終ジャッジ日時 2023-08-27 07:19:04
合計ジャッジ時間 2,613 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,316 KB
testcase_01 AC 12 ms
6,392 KB
testcase_02 AC 12 ms
6,396 KB
testcase_03 AC 11 ms
6,400 KB
testcase_04 AC 12 ms
6,316 KB
testcase_05 AC 11 ms
6,396 KB
testcase_06 AC 10 ms
6,344 KB
testcase_07 AC 10 ms
6,348 KB
testcase_08 AC 75 ms
17,124 KB
testcase_09 AC 114 ms
22,372 KB
testcase_10 AC 106 ms
20,468 KB
testcase_11 AC 91 ms
18,416 KB
testcase_12 AC 45 ms
13,256 KB
testcase_13 AC 10 ms
6,484 KB
testcase_14 AC 11 ms
6,356 KB
testcase_15 AC 11 ms
6,324 KB
testcase_16 AC 11 ms
6,424 KB
testcase_17 AC 11 ms
6,328 KB
testcase_18 AC 68 ms
12,708 KB
testcase_19 AC 53 ms
10,672 KB
testcase_20 AC 39 ms
9,252 KB
testcase_21 AC 74 ms
13,532 KB
testcase_22 AC 45 ms
9,848 KB
testcase_23 AC 11 ms
6,600 KB
testcase_24 AC 131 ms
27,644 KB
testcase_25 AC 68 ms
7,872 KB
testcase_26 AC 27 ms
8,600 KB
testcase_27 AC 12 ms
6,372 KB
evil01.txt AC 132 ms
27,664 KB
evil02.txt AC 135 ms
27,640 KB
権限があれば一括ダウンロードができます

ソースコード

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