For this Question: Given an array <b>arr </b> of numbers, your task is to count the number of unique elements in it.The first line of the input contains n (Number of elements). The following line contains the information on the array.
<b>For python users, you have to complete the function.</b>

<b>Constraints</b>
1 &le; n &le; 10<sup>6</sup>
1 &le; arr[i] &le;10<sup>9</sup>Print the number of unique elements in the array.
<b>For python users return the count of unique elements from the given function.</b>Sample Input 1
4
1 2 3 3

Sample Output 1
3

Sample Input 2
6
1 1 2 2 3 3

Sample Output 2
3, I have written this Solution Code: /**
 *      Author : tourist1256
 *      Time   : 2022-01-10 12:51:16
 **/

#include <bits/stdc++.h>

using namespace std;

#ifdef LOCAL
#define debug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define debug(...) 2351
#endif

int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    int n;
    cin >> n;
    set<int> a;
    for (int i = 0; i < n; i++) {
        int temp;
        cin >> temp;
        a.insert(temp);
    }
    cout << a.size() << "\n";
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?