結果

問題 No.182 新規性の虜
ユーザー Tksi
提出日時 2017-08-10 15:51:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 264 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 13,640 KB
最終ジャッジ日時 2024-10-12 04:01:26
合計ジャッジ時間 6,975 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 TLE * 1 -- * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools

lgt = int(input())
dat = list(map(int, input().split()))
tmp = []
for i in itertools.combinations(dat, 2):
    if i[0] == i[1]:
        tmp += [i[0]]
tmp = set(tmp)
for i in set(tmp):
    dat = list(filter(lambda a: a != i, dat))
print(len(dat))
0