Problem uniquenumbers
User Minjia
Submission Time 2023-11-08 15:30:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:8:2: error: expected initializer before ‘int’
8 | int N,x;
| ^~~
uniquenumbers.cpp:9:9: error: ‘N’ was not declared in this scope
9 | cin >> N;
| ^
uniquenumbers.cpp:11:10: error: ‘x’ was not declared in this scope
11 | cin >> x;
| ^
uniquenumbers.cpp:12:3: error: ‘s’ was not declared in this scope
12 | s.insert(x);
| ^
uniquenumbers.cpp:14:10: error: ‘s’ was not declared in this scope
14 | cout << s.size;
| ^