closing.cpp: In function 'std::vector<long long int> get_dist(int, int, const std::vector<std::vector<edge> >&)':
closing.cpp:45:36: error: 'pqg<std::pair<long long int, int> >' {aka 'class std::priority_queue<std::pair<long long int, int>, std::vector<std::pair<long long int, int>, std::allocator<std::pair<long long int, int> > >, std::greater<std::pair<long long int, int> > >'} has no member named 'puhs'; did you mean 'push'?
45 | pq.puhs({dist[e.to],e.to});
| ^~~~
| push
closing.cpp: At global scope:
closing.cpp:52:45: error: conflicting declaration 'std::vector<int> u'
52 | int max_score(int n,int x,int u,ll k,V<int> u,V<int> v,V<int> w){
| ^
closing.cpp:52:31: note: previous declaration as 'int u'
52 | int max_score(int n,int x,int u,ll k,V<int> u,V<int> v,V<int> w){
| ~~~~^
closing.cpp: In function 'int max_score(...)':
closing.cpp:56:22: error: invalid types 'int[int]' for array subscript
56 | adj[u[i]].pb({v[i],w[i]});
| ^
closing.cpp:57:32: error: invalid types 'int[int]' for array subscript
57 | adj[v[i]].pb({u[i],w[i]});
| ^
closing.cpp:57:29: error: no matching function for call to 'std::vector<edge>::push_back(<brace-enclosed initializer list>)'
57 | adj[v[i]].pb({u[i],w[i]});
| ~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/c++/13/vector:66,
from /usr/include/c++/13/functional:64,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:53,
from closing.cpp:1:
/usr/include/c++/13/bits/stl_vector.h:1281:7: note: candidate: 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = edge; _Alloc = std::allocator<edge>; value_type = edge]'
1281 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1281:35: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const std::vector<edge>::value_type&' {aka 'const edge&'}
1281 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/13/bits/stl_vector.h:1298:7: note: candidate: 'constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = edge; _Alloc = std::allocator<edge>; value_type = edge]'
1298 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/13/bits/stl_vector.h:1298:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<edge>::value_type&&' {aka 'edge&&'}
1298 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
closing.cpp:58:22: error: invalid types 'int[int]' for array subscript
58 | deg[u[i]]++;
| ^
closing.cpp:61:48: error: 'y' was not declared in this scope; did you mean 'dy'?
61 | V<ll> dx=get_dist(x,n,adj),dy=get_dist(y,n,adj);
| ^
| dy
closing.cpp:116:70: error: 'reachyr' was not declared in this scope; did you mean 'reachyl'?
116 | bool iny=(pos[i]>=reachyl && pos[i]<=reachyr);
| ^~~~~~~
| reachyl
closing.cpp:130:76: error: 'reachyr' was not declared in this scope; did you mean 'reachyl'?
130 | int ul=min(reachxl,reachyl),ur=max(reachxr,reachyr);
| ^~~~~~~
| reachyl