結果

問題 No.182 新規性の虜
ユーザー tookunn_1213tookunn_1213
提出日時 2015-06-06 19:54:12
言語 Python2
(2.7.18)
結果
AC  
実行時間 93 ms / 5,000 ms
コード長 197 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 6,664 KB
実行使用メモリ 22,424 KB
最終ジャッジ日時 2023-08-27 07:19:33
合計ジャッジ時間 2,422 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
5,824 KB
testcase_01 AC 10 ms
5,928 KB
testcase_02 AC 10 ms
5,832 KB
testcase_03 AC 10 ms
6,060 KB
testcase_04 AC 9 ms
5,860 KB
testcase_05 AC 9 ms
5,992 KB
testcase_06 AC 9 ms
6,064 KB
testcase_07 AC 9 ms
5,840 KB
testcase_08 AC 57 ms
13,024 KB
testcase_09 AC 86 ms
15,224 KB
testcase_10 AC 80 ms
14,484 KB
testcase_11 AC 66 ms
13,700 KB
testcase_12 AC 36 ms
11,544 KB
testcase_13 AC 10 ms
5,920 KB
testcase_14 AC 10 ms
5,904 KB
testcase_15 AC 10 ms
5,920 KB
testcase_16 AC 10 ms
5,972 KB
testcase_17 AC 9 ms
5,956 KB
testcase_18 AC 68 ms
12,088 KB
testcase_19 AC 49 ms
10,364 KB
testcase_20 AC 34 ms
8,740 KB
testcase_21 AC 75 ms
13,104 KB
testcase_22 AC 41 ms
9,340 KB
testcase_23 AC 9 ms
6,052 KB
testcase_24 AC 93 ms
22,424 KB
testcase_25 AC 72 ms
9,744 KB
testcase_26 AC 19 ms
7,504 KB
testcase_27 AC 9 ms
5,952 KB
evil01.txt AC 94 ms
22,340 KB
evil02.txt AC 101 ms
22,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input())
A = map(int,raw_input().split())
B = {}
c = 0
for i in range(N):
	if B.has_key(A[i]):
		B[A[i]] += 1
	else:
		B[A[i]] = 1
for key in B.keys():
	if B[key] == 1:
		c += 1
print c
0