Problem WA1
User Soysauce
Submission Time 2024-06-14 21:24:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

WA1.cpp: In function ‘int main()’:
WA1.cpp:12:50: error: ‘boost’ was not declared in this scope
12 | std::unordered_map<std::pair<int, int>, int, boost::hash<std::pair<int, int>>> points;
| ^~~~~
WA1.cpp:12:82: error: template argument 3 is invalid
12 | std::unordered_map<std::pair<int, int>, int, boost::hash<std::pair<int, int>>> points;
| ^
WA1.cpp:18:15: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::pair<int, int>’)
18 | points[point]++;
| ^
WA1.cpp:21:30: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
21 | for (const auto& entry : points) {
| ^~~~~~
| std::begin
In file included f