結果

問題 No.182 新規性の虜
ユーザー Iruyan_Zak
提出日時 2016-01-18 01:34:44
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 68 ms / 5,000 ms
コード長 265 bytes
コンパイル時間 4,065 ms
コンパイル使用メモリ 164,216 KB
実行使用メモリ 8,064 KB
最終ジャッジ日時 2024-12-26 23:24:59
合計ジャッジ時間 4,196 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main(){
    int input;
    map<int, int> mp;

    cin >> input;
    while(cin >> input) ++mp[input];
    cout << count_if(mp.begin(), mp.end(), [](decltype(mp)::const_reference p){return p.second == 1;}) << endl;
}
0