結果
| 問題 | No.182 新規性の虜 |
| コンテスト | |
| ユーザー |
michonz4
|
| 提出日時 | 2019-05-30 15:30:38 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 291 bytes |
| 記録 | |
| コンパイル時間 | 479 ms |
| コンパイル使用メモリ | 62,568 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-17 16:07:45 |
| 合計ジャッジ時間 | 5,070 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 27 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int n;
cin >> n;
vector<long long> v(1000000000);
for (int i=0; i<n; i++) {
long long t;
cin >> t;
v[t-1]++;
}
cout << count(v.begin(), v.end(), 1) << endl;
return 0;
}
michonz4