結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
srup٩(๑`н´๑)۶
|
| 提出日時 | 2016-08-17 12:46:50 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 44 ms / 5,000 ms |
| + 894µs | |
| コード長 | 313 bytes |
| 記録 | |
| コンパイル時間 | 351 ms |
| コンパイル使用メモリ | 84,236 KB |
| 実行使用メモリ | 9,904 KB |
| 最終ジャッジ日時 | 2026-10-08 13:10:10 |
| 合計ジャッジ時間 | 2,993 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 27 |
ソースコード
#include <iostream>
#include <cstdio>
#include <map>
using namespace std;
#define rep(i,n) for(int i=0;i<(n);i++)
int main(void){
int n; cin >> n;
map<int, int> m;
rep(i, n){
int tmp; cin >> tmp;
m[tmp]++;
}
int ans = 0;
for(auto x : m){
if(x.second == 1) ans++;
}
printf("%d\n", ans);
return 0;
}
srup٩(๑`н´๑)۶