unordered_set gives compilation error

When I am using unordered_set in C++ I am getting this compilation error.
Does anyone else get the same?
Is it some kind of problem with Leetcode?

This happens even when using int type instead of pair<int, int>. When using set<pair<int, int>> it works fine. Can anyone clarify what is going wrong?

Line 4: Char 40: error: call to implicitly-deleted default constructor of 'unordered_set<pair<int, int>>'
unordered_set <pair<int, int>> s;

Comments (1)