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