結果

問題 No.182 新規性の虜
ユーザー ABKZABKZ
提出日時 2023-01-08 22:06:43
言語 PyPy3
(7.3.15)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 231 bytes
コンパイル時間 2,453 ms
コンパイル使用メモリ 86,020 KB
実行使用メモリ 100,364 KB
最終ジャッジ日時 2023-08-22 06:51:00
合計ジャッジ時間 25,075 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,424 KB
testcase_01 AC 76 ms
71,348 KB
testcase_02 AC 74 ms
71,364 KB
testcase_03 AC 76 ms
71,208 KB
testcase_04 AC 75 ms
71,188 KB
testcase_05 AC 75 ms
71,048 KB
testcase_06 AC 76 ms
71,284 KB
testcase_07 AC 76 ms
71,188 KB
testcase_08 AC 1,878 ms
86,112 KB
testcase_09 AC 4,657 ms
94,392 KB
testcase_10 AC 3,498 ms
91,900 KB
testcase_11 AC 2,474 ms
88,072 KB
testcase_12 AC 506 ms
79,392 KB
testcase_13 AC 76 ms
71,456 KB
testcase_14 AC 75 ms
71,144 KB
testcase_15 AC 75 ms
71,420 KB
testcase_16 AC 74 ms
71,500 KB
testcase_17 AC 75 ms
71,428 KB
testcase_18 AC 561 ms
86,352 KB
testcase_19 AC 420 ms
82,524 KB
testcase_20 AC 278 ms
79,256 KB
testcase_21 AC 630 ms
88,104 KB
testcase_22 AC 339 ms
80,716 KB
testcase_23 AC 76 ms
71,204 KB
testcase_24 TLE -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
evil01.txt -- -
evil02.txt -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
dup = []
unq = []

for x in A:
    if x in dup:
        continue
    if x in unq:
        unq.remove(x)
        dup.append(x)
        continue
    unq.append(x)

print(len(unq))
0