Problem | uniquenumbers |
---|---|
User | Hytoh |
Submission Time | 2023-05-03 17:15:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:9:9: error: ‘iunsigned’ was not declared in this scope; did you mean ‘unsigned’?
9 | set<iunsigned long long int> unique_numbers;
| ^~~~~~~~~
| unsigned
uniquenumbers.cpp:9:32: error: template argument 1 is invalid
9 | set<iunsigned long long int> unique_numbers;
| ^
uniquenumbers.cpp:9:32: error: template argument 2 is invalid
uniquenumbers.cpp:9:32: error: template argument 3 is invalid
uniquenumbers.cpp:13:24: error: request for member ‘insert’ in ‘unique_numbers’, which is of non-class type ‘int’
13 | unique_numbers.insert(x);
| ^~~~~~
uniquenumbers.cpp:15:28: error: request for member ‘size’ in ‘unique_numbers’, which is of non-class type ‘int’
15 | cout << unique_numbers.size() << std::endl;
|