結果

問題 No.182 新規性の虜
ユーザー _EnumHack
提出日時 2016-01-17 01:04:02
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 51 ms / 5,000 ms
コード長 278 bytes
コンパイル時間 1,894 ms
コンパイル使用メモリ 165,884 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2024-12-26 20:07:52
合計ジャッジ時間 3,693 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
    unsigned long long n;
    unordered_map<unsigned long long,unsigned long long> h;
    cin >> n;
    while(cin >> n)
        ++h[n];
    n=0;
    for(auto&& e : h)
        n += (e.second==1);
    cout << n << endl;
}
0