結果

問題 No.182 新規性の虜
ユーザー IH
提出日時 2021-01-13 00:11:31
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 141 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 80,512 KB
最終ジャッジ日時 2024-11-21 13:38:14
合計ジャッジ時間 2,636 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 1 WA * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
x = 0
a.sort()
a.append(0)
for i in range(n):
  if a[i] != a[i+1]:
    x += 1
print(x//2)
0