結果

問題 No.182 新規性の虜
ユーザー ohana
提出日時 2023-10-23 11:48:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 87 ms / 5,000 ms
コード長 177 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 82,204 KB
実行使用メモリ 89,028 KB
最終ジャッジ日時 2024-09-22 10:02:58
合計ジャッジ時間 2,891 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools

n = int(input())
A = list(map(int, input().split()))
A.sort()
cnt = 0

for k, g in itertools.groupby(A):
    if len(list(g)) == 1:
        cnt += 1
print(cnt)
0