cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:21:13: error: expected ';' before 'double'
21 | K=min(K,200)
| ^
| ;
22 | double dis[N][K]{};
| ~~~~~~
cyberland.cpp:23:26: error: 'dis' was not declared in this scope; did you mean 'div'?
23 | rep(i,0,N) rep(j,0,K+1) dis[i][j]=inf;
| ^~~
| div
cyberland.cpp:26:2: error: 'dis' was not declared in this scope; did you mean 'div'?
26 | dis[0][0]=0;
| ^~~
| div
cyberland.cpp:37:33: error: no matching function for call to 'std::priority_queue<std::array<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::push(<brace-enclosed initializer list>)'
37 | pq.push({k+1,dis[u][k+1],u});
| ^
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>&'}
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::value_type&&' {aka 'std::array<double, 3>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
cyberland.cpp:44:34: error: no matching function for call to 'std::priority_queue<std::array<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::push(<brace-enclosed initializer list>)'
44 | pq.push({k,dis[v.fi][k],v.fi});
| ^
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>&'}
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::value_type&&' {aka 'std::array<double, 3>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
cyberland.cpp:48:38: error: no matching function for call to 'std::priority_queue<std::array<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::push(<brace-enclosed initializer list>)'
48 | pq.push({k+1,dis[v.fi][k+1],v.fi});
| ^
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>&'}
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::value_type&&' {aka 'std::array<double, 3>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
cyberland.cpp:52:34: error: no matching function for call to 'std::priority_queue<std::array<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::push(<brace-enclosed initializer list>)'
52 | pq.push({k,dis[v.fi][k],v.fi});
| ^
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>&'}
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<double, 3>; _Sequence = std::vector<std::array<double, 3> >; _Compare = std::greater<std::array<double, 3> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::array<double, 3>]'
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<double, 3>, std::vector<std::array<double, 3> >, std::greater<std::array<double, 3> > >::value_type&&' {aka 'std::array<double, 3>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~