結果

問題 No.182 新規性の虜
ユーザー nbisconbisco
提出日時 2016-03-28 00:17:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 264 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 10,620 KB
実行使用メモリ 21,540 KB
最終ジャッジ日時 2023-08-27 10:28:12
合計ジャッジ時間 2,469 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,896 KB
testcase_01 AC 16 ms
7,840 KB
testcase_02 AC 15 ms
7,916 KB
testcase_03 AC 16 ms
7,872 KB
testcase_04 AC 15 ms
7,876 KB
testcase_05 AC 16 ms
7,860 KB
testcase_06 AC 16 ms
7,844 KB
testcase_07 AC 16 ms
7,892 KB
testcase_08 AC 49 ms
15,244 KB
testcase_09 AC 69 ms
17,548 KB
testcase_10 AC 62 ms
16,616 KB
testcase_11 AC 54 ms
15,812 KB
testcase_12 AC 31 ms
11,128 KB
testcase_13 AC 16 ms
7,776 KB
testcase_14 AC 16 ms
7,916 KB
testcase_15 AC 15 ms
7,892 KB
testcase_16 AC 16 ms
7,920 KB
testcase_17 AC 16 ms
7,876 KB
testcase_18 AC 44 ms
13,756 KB
testcase_19 AC 38 ms
12,236 KB
testcase_20 AC 29 ms
10,744 KB
testcase_21 AC 49 ms
14,484 KB
testcase_22 AC 32 ms
11,200 KB
testcase_23 AC 16 ms
7,792 KB
testcase_24 AC 79 ms
21,540 KB
testcase_25 AC 34 ms
9,348 KB
testcase_26 AC 22 ms
9,244 KB
testcase_27 AC 15 ms
7,744 KB
evil01.txt AC 80 ms
22,324 KB
evil02.txt AC 81 ms
22,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
#fileencoding: utf-8

N = int(input())
dic = {}
for i in input().strip().split(" "):
    if i in dic:
        dic[i] = False
    else:
        dic[i] = True
count = 0
for k,v in dic.items():
    if v == True:
        count += 1
print(count)
0