cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:42:24: error: 'struct std::pair<int, int>' has no member named 'fi'
42 | if (!vis[v.fi])
| ^~
cyberland.cpp:44:32: error: 'struct std::pair<int, int>' has no member named 'fi'
44 | st.push_back(v.fi);
| ^~
cyberland.cpp:45:23: error: 'struct std::pair<int, int>' has no member named 'fi'
45 | vis[v.fi] = 1;
| ^~
cyberland.cpp:57:24: error: 'struct std::pair<int, int>' has no member named 'fi'
57 | if (dist[v.fi][t] > d + v.se)
| ^~
cyberland.cpp:57:39: error: 'struct std::pair<int, int>' has no member named 'se'
57 | if (dist[v.fi][t] > d + v.se)
| ^~
cyberland.cpp:59:24: error: 'struct std::pair<int, int>' has no member named 'fi'
59 | dist[v.fi][t] = d + v.se;
| ^~
cyberland.cpp:59:39: error: 'struct std::pair<int, int>' has no member named 'se'
59 | dist[v.fi][t] = d + v.se;
| ^~
cyberland.cpp:60:33: error: 'struct std::pair<int, int>' has no member named 'fi'
60 | pq.push({dist[v.fi][t], v.fi, t});
| ^~
cyberland.cpp:60:43: error: 'struct std::pair<int, int>' has no member named 'fi'
60 | pq.push({dist[v.fi][t], v.fi, t});
| ^~
cyberland.cpp:60:24: error: no matching function for call to 'std::priority_queue<std::tuple<double, int, int>, std::vector<std::tuple<double, int, int> >, std::greater<void> >::push(<brace-enclosed initializer list>)'
60 | pq.push({dist[v.fi][t], v.fi, t});
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from cyberland.cpp:3:
/usr/include/c++/11/bits/stl_queue.h:640:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::tuple<double, int, int>; _Sequence = std::vector<std::tuple<double, int, int> >; _Compare = std::greater<void>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::tuple<double, int, int>]'
640 | push(const value_type& __x)
| ^~~~
/usr/include/c++/11/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::tuple<double, int, int>&'}
640 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/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::tuple<double, int, int>; _Sequence = std::vector<std::tuple<double, int, int> >; _Compare = std::greater<void>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::tuple<double, int, int>]'
648 | push(value_type&& __x)
| ^~~~
/usr/include/c++/11/bits/stl_queue.h:648:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::tuple<double, int, int>, std::vector<std::tuple<double, int, int> >, std::greater<void> >::value_type&&' {aka 'std::tuple<double, int, int>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~
cyberland.cpp:62:21: error: 'struct std::pair<int, int>' has no member named 'fi'
62 | if (a[v.fi] == 2 && t + 1 <= K && dist[v.fi][t + 1] > (d + v.se) / 2.0)
| ^~
cyberland.cpp:62:54: error: 'struct std::pair<int, int>' has no member named 'fi'
62 | if (a[v.fi] == 2 && t + 1 <= K && dist[v.fi][t + 1] > (d + v.se) / 2.0)
| ^~
cyberland.cpp:62:74: error: 'struct std::pair<int, int>' has no member named 'se'
62 | if (a[v.fi] == 2 && t + 1 <= K && dist[v.fi][t + 1] > (d + v.se) / 2.0)
| ^~
cyberland.cpp:64:24: error: 'struct std::pair<int, int>' has no member named 'fi'
64 | dist[v.fi][t + 1] = (d + v.se) / 2.0;
| ^~
cyberland.cpp:64:44: error: 'struct std::pair<int, int>' has no member named 'se'
64 | dist[v.fi][t + 1] = (d + v.se) / 2.0;
| ^~
cyberland.cpp:65:33: error: 'struct std::pair<int, int>' has no member named 'fi'
65 | pq.push({dist[v.fi][t + 1], v.fi, t + 1});
| ^~
cyberland.cpp:65:47: error: 'struct std::pair<int, int>' has no member named 'fi'
65 | pq.push({dist[v.fi][t + 1], v.fi, t + 1});
| ^~
cyberland.cpp:65:24: error: no matching function for call to 'std::priority_queue<std::tuple<double, int, int>, std::vector<std::tuple<double, int, int> >, std::greater<void> >::push(<brace-enclosed initializer list>)'
65 | pq.push({dist[v.fi][t + 1], v.fi, t + 1});
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from cyberland.cpp:3:
/usr/include/c++/11/bits/stl_queue.h:640:7: note: candidate: 'void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::tuple<double, int, int>; _Sequence = std::vector<std::tuple<double, int, int> >; _Compare = std::greater<void>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::tuple<double, int, int>]'
640 | push(const value_type& __x)
| ^~~~
/usr/include/c++/11/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::tuple<double, int, int>&'}
640 | push(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/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::tuple<double, int, int>; _Sequence = std::vector<std::tuple<double, int, int> >; _Compare = std::greater<void>; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::tuple<double, int, int>]'
648 | push(value_type&& __x)
| ^~~~
/usr/include/c++/11/bits/stl_queue.h:648:25: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::priority_queue<std::tuple<double, int, int>, std::vector<std::tuple<double, int, int> >, std::greater<void> >::value_type&&' {aka 'std::tuple<double, int, int>&&'}
648 | push(value_type&& __x)
| ~~~~~~~~~~~~~^~~