Problem boardvision
User Kanish
Submission Time 2023-11-20 10:49:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boardvision.cpp: In function ‘int count_attacking_queen_pairs(int, const std::vector<std::pair<int, int> >&)’:
boardvision.cpp:33:12: error: a function-definition is not allowed here before ‘{’ token
33 | int main() {
| ^
boardvision.cpp:45:1: error: expected ‘}’ at end of input
45 | }
| ^
boardvision.cpp:6:78: note: to match this ‘{’
6 | int count_attacking_queen_pairs(int N, const vector<pair<int, int>>& queens) {
| ^