Problem Statement
Distinct Numbers
Implementation
void solve() {
ll n;
cin >> n;
set<ll> s;
rep(i, n) {
ll x;
cin >> x;
s.insert(x);
}
cout << sz(s);
}
Distinct Numbers
void solve() {
ll n;
cin >> n;
set<ll> s;
rep(i, n) {
ll x;
cin >> x;
s.insert(x);
}
cout << sz(s);
}