結果
| 問題 |
No.182 新規性の虜
|
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-02-27 14:24:42 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 325 bytes |
| コンパイル時間 | 591 ms |
| コンパイル使用メモリ | 60,360 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-24 11:35:54 |
| 合計ジャッジ時間 | 5,031 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 27 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
int ans = 0,anum,n;
cin >> n;
vector<long long> a;
for(int i = 0;i < n;i++) cin >> a[i];
for(int i = 0;i < n;i++){
anum = a[i];
if(count(a.begin(),a.end(),anum) == 1) ans++;
}
cout << ans << endl;
}
ldsyb