結果

問題 No.182 新規性の虜
ユーザー fV9TwBhUoa9S3eV
提出日時 2019-09-17 15:19:15
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 181 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 21,532 KB
最終ジャッジ日時 2024-07-07 13:14:48
合計ジャッジ時間 7,500 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 TLE * 1 -- * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

# No.182 新規性の虜
n = int(input())
a = [int(i) for i in input().split()]
count = 0

for i in range(n):
    if a[i] not in a[0:i] + a[i + 1:]:
        count += 1

print(count)
0