結果

問題 No.182 新規性の虜
ユーザー mkanenobu
提出日時 2018-03-24 19:44:18
言語 Nim
(2.2.0)
結果
TLE  
実行時間 -
コード長 197 bytes
コンパイル時間 3,351 ms
コンパイル使用メモリ 65,624 KB
実行使用メモリ 13,880 KB
最終ジャッジ日時 2024-06-30 05:33:00
合計ジャッジ時間 12,418 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 TLE * 1 -- * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

import strutils, sequtils

var
    n = readLine(stdin).parseInt
    a = readLine(stdin).split.map(parseInt)
    res = 0

for i in deduplicate(a):
    if a.count(i) == 1:
        res += 1

echo res
0