#include <bits/stdc++.h>
using namespace std;
int main(){
int n; cin >> n;
set<int> h;
int x; for(int i = 0; i < n; i++){cin >> x; h.insert(x);}
cout << h.size() << '\n';
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
212 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
340 KB |
Output isn't correct |
3 |
Incorrect |
2 ms |
340 KB |
Output isn't correct |
4 |
Incorrect |
2 ms |
340 KB |
Output isn't correct |
5 |
Incorrect |
222 ms |
3916 KB |
Output isn't correct |
6 |
Incorrect |
230 ms |
3916 KB |
Output isn't correct |
7 |
Incorrect |
188 ms |
3132 KB |
Output isn't correct |
8 |
Incorrect |
180 ms |
3020 KB |
Output isn't correct |
9 |
Incorrect |
207 ms |
3660 KB |
Output isn't correct |
10 |
Incorrect |
202 ms |
3396 KB |
Output isn't correct |