結果

問題 No.182 新規性の虜
ユーザー alcoholampalcoholamp
提出日時 2019-10-29 13:12:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 64 ms / 5,000 ms
コード長 302 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 10,676 KB
実行使用メモリ 22,804 KB
最終ジャッジ日時 2023-10-12 23:20:27
合計ジャッジ時間 3,128 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,944 KB
testcase_01 AC 15 ms
7,964 KB
testcase_02 AC 15 ms
7,880 KB
testcase_03 AC 15 ms
7,804 KB
testcase_04 AC 16 ms
7,888 KB
testcase_05 AC 16 ms
7,820 KB
testcase_06 AC 16 ms
7,740 KB
testcase_07 AC 15 ms
7,860 KB
testcase_08 AC 43 ms
16,864 KB
testcase_09 AC 59 ms
18,484 KB
testcase_10 AC 54 ms
18,300 KB
testcase_11 AC 46 ms
18,232 KB
testcase_12 AC 30 ms
12,672 KB
testcase_13 AC 16 ms
7,996 KB
testcase_14 AC 16 ms
7,844 KB
testcase_15 AC 15 ms
7,816 KB
testcase_16 AC 17 ms
7,860 KB
testcase_17 AC 16 ms
7,892 KB
testcase_18 AC 46 ms
16,456 KB
testcase_19 AC 38 ms
14,044 KB
testcase_20 AC 29 ms
12,024 KB
testcase_21 AC 52 ms
17,540 KB
testcase_22 AC 33 ms
12,772 KB
testcase_23 AC 16 ms
7,816 KB
testcase_24 AC 64 ms
22,804 KB
testcase_25 AC 41 ms
10,024 KB
testcase_26 AC 21 ms
9,900 KB
testcase_27 AC 15 ms
7,824 KB
evil01.txt AC 67 ms
23,276 KB
evil02.txt AC 67 ms
22,984 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

class Problem0182:
	def solve(this):
		n = int(input())
		a = list(map(int, input().split()))
		
		res = {}
		for d in a:
			res[d] = res.get(d, 0) + 1
		
		cnt = 0
		for d in res.values():
			if d == 1:
				cnt += 1
		print(cnt)
		
if __name__ == "__main__":
	problem = Problem0182()
	problem.solve()
0