結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-25 17:54:38 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 5,000 ms |
| コード長 | 288 bytes |
| 記録 | |
| コンパイル時間 | 855 ms |
| コンパイル使用メモリ | 82,808 KB |
| 実行使用メモリ | 8,320 KB |
| 最終ジャッジ日時 | 2026-06-02 05:55:01 |
| 合計ジャッジ時間 | 3,194 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
#include <iostream>
#include <map>
using namespace std;
int main()
{
int N, i, t, ans = 0;
cin >> N;
map<int, int> A;
for (i = 0; i < N; i++)
cin >> t, A[t]++;
for (auto itr = A.begin(); itr != A.end(); itr++)
if (itr->second == 1) ans++;
cout << ans << endl;
return 0;
}