Problem | uniquenumbers |
---|---|
User | Minjia |
Submission Time | 2023-11-08 15:28:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:6:7: error: ‘strings’ was not declared in this scope; did you mean ‘stdin’?
6 | set <strings> s
| ^~~~~~~
| stdin
uniquenumbers.cpp:6:14: error: template argument 1 is invalid
6 | set <strings> s
| ^
uniquenumbers.cpp:6:14: error: template argument 2 is invalid
uniquenumbers.cpp:6:14: error: template argument 3 is invalid
uniquenumbers.cpp:7:2: error: expected initializer before ‘int’
7 | int N,x;
| ^~~
uniquenumbers.cpp:8:9: error: ‘N’ was not declared in this scope
8 | cin >> N;
| ^
uniquenumbers.cpp:10:10: error: ‘x’ was not declared in this scope
10 | cin >> x;
| ^
uniquenumbers.cpp:11:14: error: qualified-id in declaration before ‘(’ token
11 | set::insert(x);
| ^
uniquenumbers.cpp:13:10: error: ‘template