Problem | uniquenumbers |
---|---|
User | LiuZq |
Submission Time | 2023-02-18 19:36:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main(int, const char**)’:
uniquenumbers.cpp:7:2: error: ‘unordered_set’ was not declared in this scope
7 | unordered_set<string>s;
| ^~~~~~~~~~~~~
uniquenumbers.cpp:3:1: note: ‘std::unordered_set’ is defined in header ‘<unordered_set>’; did you forget to ‘#include <unordered_set>’?
2 | #include <set>
+++ |+#include <unordered_set>
3 | using namespace std;
uniquenumbers.cpp:7:22: error: expected primary-expression before ‘>’ token
7 | unordered_set<string>s;
| ^
uniquenumbers.cpp:7:23: error: ‘s’ was not declared in this scope
7 | unordered_set<string>s;
| ^