QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#219926#3899. BSUIR Open XGuanYunchangCompile Error//C++98917b2023-10-19 19:50:412023-10-19 19:50:42

Details

answer.code: In function ‘int countIdealCompetitions(std::vector<std::__cxx11::basic_string<char> >&)’:
answer.code:9:5: error: ‘unordered_set’ was not declared in this scope
    9 |     unordered_set<string> uniqueSets;
      |     ^~~~~~~~~~~~~
answer.code:9:5: note: ‘std::unordered_set’ is only available from C++11 onwards
answer.code:9:25: error: expected primary-expression before ‘>’ token
    9 |     unordered_set<string> uniqueSets;
      |                         ^
answer.code:9:27: error: ‘uniqueSets’ was not declared in this scope
    9 |     unordered_set<string> uniqueSets;
      |                           ^~~~~~~~~~