Problem uniquenumbers
User yixiin26
Submission Time 2023-11-09 09:20:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp:4:15: error: ‘strings’ was not declared in this scope; did you mean ‘stdin’?
4 | unordered_set<strings> s;
| ^~~~~~~
| stdin
uniquenumbers.cpp:4:22: error: template argument 1 is invalid
4 | unordered_set<strings> s;
| ^
uniquenumbers.cpp:4:22: error: template argument 2 is invalid
uniquenumbers.cpp:4:22: error: template argument 3 is invalid
uniquenumbers.cpp:4:22: error: template argument 4 is invalid
uniquenumbers.cpp: In function ‘int32_t main()’:
uniquenumbers.cpp:14:4: error: request for member ‘insert’ in ‘s’, which is of non-class type ‘int’
14 | s.insert(current);
| ^~~~~~
uniquenumbers.cpp:17:11: error: request for member ‘size’ in ‘s’, which is of non-class type ‘int’
17 | cout << s.size();
| ^~~~