escape_route.cpp: In function 'std::vector<long long int> calculate_necessary_time(int, int, long long int, int, std::vector<int>, std::vector<int>, std::vector<long long int>, std::vector<long long int>, std::vector<int>, std::vector<int>, std::vector<long long int>)':
escape_route.cpp:87:24: error: 'node' was not declared in this scope
87 | priority_queue<node> pq;
| ^~~~
escape_route.cpp:87:28: error: template argument 1 is invalid
87 | priority_queue<node> pq;
| ^
escape_route.cpp:87:28: error: template argument 2 is invalid
escape_route.cpp:87:28: error: template argument 3 is invalid
escape_route.cpp: In lambda function:
escape_route.cpp:92:20: error: request for member 'push' in 'pq', which is of non-class type 'int'
92 | pq.push({s, e, -x});
| ^~~~
escape_route.cpp: In function 'std::vector<long long int> calculate_necessary_time(int, int, long long int, int, std::vector<int>, std::vector<int>, std::vector<long long int>, std::vector<long long int>, std::vector<int>, std::vector<int>, std::vector<long long int>)':
escape_route.cpp:3:25: error: request for member 'size' in 'pq', which is of non-class type 'int'
3 | #define sz(v) ((int)(v).size())
| ^~~~
escape_route.cpp:98:15: note: in expansion of macro 'sz'
98 | while(sz(pq)){
| ^~
escape_route.cpp:99:25: error: request for member 'top' in 'pq', which is of non-class type 'int'
99 | auto x = pq.top(); pq.pop();
| ^~~
escape_route.cpp:99:35: error: request for member 'pop' in 'pq', which is of non-class type 'int'
99 | auto x = pq.top(); pq.pop();
| ^~~
escape_route.cpp:110:24: error: 'node' was not declared in this scope
110 | priority_queue<node> pq;
| ^~~~
escape_route.cpp:110:28: error: template argument 1 is invalid
110 | priority_queue<node> pq;
| ^
escape_route.cpp:110:28: error: template argument 2 is invalid
escape_route.cpp:110:28: error: template argument 3 is invalid
escape_route.cpp: In lambda function:
escape_route.cpp:119:20: error: request for member 'push' in 'pq', which is of non-class type 'int'
119 | pq.push({s, e, x});
| ^~~~
escape_route.cpp: In function 'std::vector<long long int> calculate_necessary_time(int, int, long long int, int, std::vector<int>, std::vector<int>, std::vector<long long int>, std::vector<long long int>, std::vector<int>, std::vector<int>, std::vector<long long int>)':
escape_route.cpp:3:25: error: request for member 'size' in 'pq', which is of non-class type 'int'
3 | #define sz(v) ((int)(v).size())
| ^~~~
escape_route.cpp:125:15: note: in expansion of macro 'sz'
125 | while(sz(pq)){
| ^~
escape_route.cpp:126:25: error: request for member 'top' in 'pq', which is of non-class type 'int'
126 | auto x = pq.top(); pq.pop();
| ^~~
escape_route.cpp:126:35: error: request for member 'pop' in 'pq', which is of non-class type 'int'
126 | auto x = pq.top(); pq.pop();
| ^~~