結果

問題 No.182 新規性の虜
ユーザー teioteio
提出日時 2020-07-26 15:44:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 118 ms / 5,000 ms
コード長 184 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 87,260 KB
実行使用メモリ 104,724 KB
最終ジャッジ日時 2023-09-11 02:00:09
合計ジャッジ時間 5,143 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,092 KB
testcase_01 AC 74 ms
71,128 KB
testcase_02 AC 73 ms
71,160 KB
testcase_03 AC 73 ms
71,188 KB
testcase_04 AC 73 ms
71,072 KB
testcase_05 AC 73 ms
71,232 KB
testcase_06 AC 72 ms
71,292 KB
testcase_07 AC 73 ms
71,168 KB
testcase_08 AC 96 ms
91,624 KB
testcase_09 AC 118 ms
102,604 KB
testcase_10 AC 112 ms
99,120 KB
testcase_11 AC 103 ms
94,140 KB
testcase_12 AC 86 ms
81,976 KB
testcase_13 AC 72 ms
71,312 KB
testcase_14 AC 72 ms
71,216 KB
testcase_15 AC 72 ms
71,308 KB
testcase_16 AC 71 ms
71,276 KB
testcase_17 AC 72 ms
71,280 KB
testcase_18 AC 97 ms
83,064 KB
testcase_19 AC 92 ms
80,668 KB
testcase_20 AC 86 ms
78,584 KB
testcase_21 AC 99 ms
83,768 KB
testcase_22 AC 89 ms
79,912 KB
testcase_23 AC 73 ms
71,288 KB
testcase_24 AC 118 ms
104,724 KB
testcase_25 AC 85 ms
81,880 KB
testcase_26 AC 77 ms
76,916 KB
testcase_27 AC 71 ms
71,304 KB
evil01.txt AC 121 ms
105,860 KB
evil02.txt AC 118 ms
106,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

input()
As = input().split()
d = {}
c = {}
for A in As:
    if A in c:
        continue
    if A in d:
        del d[A]
        c[A] = None
    else:
        d[A] = None
print(len(d))
0