cyberland.cpp: In function 'void dfs(long double)':
cyberland.cpp:17:10: error: invalid types 'bool [100000][long double]' for array subscript
17 | visited[u] = 1;
| ^
cyberland.cpp:18:25: error: invalid types 'std::vector<std::array<long long int, 2> > [100000][long double]' for array subscript
18 | for (auto [v, x] : adj[u])
| ^
cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:59:13: error: invalid types 'long double [100000][61][long double]' for array subscript
59 | if (dp[u][i] != w || u == H)
| ^
cyberland.cpp:61:29: error: invalid types 'std::vector<std::array<long long int, 2> > [100000][long double]' for array subscript
61 | for (auto [v, x] : adj[u])
| ^
cyberland.cpp:66:39: error: no matching function for call to 'std::priority_queue<std::array<long double, 2>, std::vector<std::array<long double, 2> >, std::greater<std::array<long double, 2> > >::push(<brace-enclosed initializer list>)'
66 | pq[i].push({dp[v][i], (ld)v});
| ^
In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from cyberland.cpp:1:
/usr/include/c++/10/bits/stl_queue.h:640:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::array<long double, 2>; _Sequence = std::vector<std::array<long double, 2> >; _Compare = std::greater<std::array<long double, 2> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<long double, 2>]'
640 | push(const value_type& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:640:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const std::array<long double, 2>&'}
640 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_queue.h:648:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(std::priority_queue<_Tp, _Sequence, _Compare>::value_type&&) [with _Tp = std::array<long double, 2>; _Sequence = std::vector<std::array<long double, 2> >; _Compare = std::greater<std::array<long double, 2> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<long double, 2>]'
648 | push(value_type&& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:648:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::array<long double, 2>, std::vector<std::array<long double, 2> >, std::greater<std::array<long double, 2> > >::value_type&&' {aka 'std::array<long double, 2>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
cyberland.cpp:71:47: error: no matching function for call to 'std::priority_queue<std::array<long double, 2>, std::vector<std::array<long double, 2> >, std::greater<std::array<long double, 2> > >::push(<brace-enclosed initializer list>)'
71 | pq[i - 1].push({dp[v][i - 1], (ld)v});
| ^
In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from cyberland.cpp:1:
/usr/include/c++/10/bits/stl_queue.h:640:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::array<long double, 2>; _Sequence = std::vector<std::array<long double, 2> >; _Compare = std::greater<std::array<long double, 2> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<long double, 2>]'
640 | push(const value_type& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:640:30: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type&' {aka 'const std::array<long double, 2>&'}
640 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10/bits/stl_queue.h:648:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(std::priority_queue<_Tp, _Sequence, _Compare>::value_type&&) [with _Tp = std::array<long double, 2>; _Sequence = std::vector<std::array<long double, 2> >; _Compare = std::greater<std::array<long double, 2> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<long double, 2>]'
648 | push(value_type&& __x)
| ^~~~
/usr/include/c++/10/bits/stl_queue.h:648:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::array<long double, 2>, std::vector<std::array<long double, 2> >, std::greater<std::array<long double, 2> > >::value_type&&' {aka 'std::array<long double, 2>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~