Problem candies
User Pan
Submission Time 2024-05-09 12:50:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candies.cpp: In function ‘int main()’:
candies.cpp:14:2: error: ‘unordered_set’ was not declared in this scope
14 | unordered_set<ll> s;
| ^~~~~~~~~~~~~
candies.cpp:4:1: note: ‘std::unordered_set’ is defined in header ‘<unordered_set>’; did you forget to ‘#include <unordered_set>’?
3 | #include <vector>
+++ |+#include <unordered_set>
4 | using namespace std;
candies.cpp:14:18: error: expected primary-expression before ‘>’ token
14 | unordered_set<ll> s;
| ^
candies.cpp:14:20: error: ‘s’ was not declared in this scope
14 | unordered_set<ll> s;
| ^