Problem uniquenumbers
User apxy36
Submission Time 2023-11-08 13:07:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin >> n;
| ^~~
uniquenumbers.cpp:4:2: error: ‘set’ was not declared in this scope
4 | set<int> s;
| ^~~
uniquenumbers.cpp:4:6: error: expected primary-expression before ‘int’
4 | set<int> s;
| ^~~
uniquenumbers.cpp:8:6: error: ‘s’ was not declared in this scope
8 | s.insert(temp);
| ^
uniquenumbers.cpp:10:2: error: ‘cout’ was not declared in this scope
10 | cout << s.size();
| ^~~~
uniquenumbers.cpp:10:10: error: ‘s’ was not declared in this scope
10 | cout << s.size();
| ^