結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
srup٩(๑`н´๑)۶
|
| 提出日時 | 2016-08-17 12:46:50 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 69 ms / 5,000 ms |
| コード長 | 313 bytes |
| コンパイル時間 | 2,340 ms |
| コンパイル使用メモリ | 65,868 KB |
| 実行使用メモリ | 8,192 KB |
| 最終ジャッジ日時 | 2024-12-27 07:34:42 |
| 合計ジャッジ時間 | 2,659 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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٩(๑`н´๑)۶