Problem ccs
User Maskaphobia
Submission Time 2024-02-17 17:59:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:11:5: error: ‘unordered_set’ was not declared in this scope
11 | unordered_set<int> cats;
| ^~~~~~~~~~~~~
ccs.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 | #include <string>
ccs.cpp:11:19: error: expected primary-expression before ‘int’
11 | unordered_set<int> cats;
| ^~~
ccs.cpp:20:24: error: ‘cats’ was not declared in this scope
20 | auto idk = cats.lower_bound(a);
| ^~~~
ccs.cpp:32:13: error: ‘cats’ was not declared in this scope; did you mean ‘cat’?
32 | cats.erase(cat);
| ^~~~
| cat
ccs.cpp:38:13: error: ‘cats’ was not declared in this scope; did you mean ‘cat’?