結果

問題 No.182 新規性の虜
ユーザー syunsukesyunsuke
提出日時 2020-11-04 22:38:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 111 ms / 5,000 ms
コード長 191 bytes
コンパイル時間 1,129 ms
コンパイル使用メモリ 86,916 KB
実行使用メモリ 104,512 KB
最終ジャッジ日時 2023-09-29 16:22:08
合計ジャッジ時間 5,797 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,260 KB
testcase_01 AC 71 ms
71,260 KB
testcase_02 AC 70 ms
71,056 KB
testcase_03 AC 70 ms
71,392 KB
testcase_04 AC 70 ms
71,132 KB
testcase_05 AC 71 ms
71,308 KB
testcase_06 AC 70 ms
71,300 KB
testcase_07 AC 70 ms
70,920 KB
testcase_08 AC 111 ms
91,644 KB
testcase_09 AC 109 ms
102,168 KB
testcase_10 AC 104 ms
98,952 KB
testcase_11 AC 100 ms
93,508 KB
testcase_12 AC 84 ms
81,688 KB
testcase_13 AC 71 ms
71,400 KB
testcase_14 AC 70 ms
71,064 KB
testcase_15 AC 71 ms
71,296 KB
testcase_16 AC 70 ms
71,332 KB
testcase_17 AC 70 ms
71,128 KB
testcase_18 AC 94 ms
87,104 KB
testcase_19 AC 88 ms
83,256 KB
testcase_20 AC 84 ms
79,868 KB
testcase_21 AC 95 ms
88,512 KB
testcase_22 AC 86 ms
81,288 KB
testcase_23 AC 71 ms
71,352 KB
testcase_24 AC 111 ms
104,512 KB
testcase_25 AC 89 ms
88,932 KB
testcase_26 AC 80 ms
77,028 KB
testcase_27 AC 72 ms
71,036 KB
evil01.txt AC 111 ms
105,692 KB
evil02.txt AC 110 ms
106,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
D={}
L=list(map(int,input().split()))
for i in L:
    if i not in D:
        D[i]=1
    else:
        D[i]+=1
ans=0
for k,v in D.items():
    if v==1:
        ans+=1
print(ans)
0