Problem uniquenumbers
User Yifei1234
Submission Time 2023-06-18 22:58:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:8:19: error: ‘int32_tz’ was not declared in this scope; did you mean ‘int32_t’?
8 | unordered_set<int32_tz numbers;
| ^~~~~~~~
| int32_t
uniquenumbers.cpp:8:28: error: template argument 1 is invalid
8 | unordered_set<int32_tz numbers;
| ^~~~~~~
uniquenumbers.cpp:8:28: error: template argument 2 is invalid
uniquenumbers.cpp:8:28: error: template argument 3 is invalid
uniquenumbers.cpp:8:28: error: template argument 4 is invalid
uniquenumbers.cpp:13:8: error: ‘numbers’ was not declared in this scope
13 | numbers.insert(nn);
| ^~~~~~~
uniquenumbers.cpp:15:7: error: ‘numbers’ was not declared in this scope
15 | cout<<numbers.size();//size of the set is the count of unique numbers
| ^~~~~~~