Main.cpp: In function 'int main()':
Main.cpp:31:25: warning: narrowing conversion of 'u' from 'std::tuple_element<1, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
31 | if (dist.count({u, p}) && dist[{u, p}] != d) continue;
| ^
Main.cpp:31:28: warning: narrowing conversion of 'p' from 'std::tuple_element<2, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
31 | if (dist.count({u, p}) && dist[{u, p}] != d) continue;
| ^
Main.cpp:31:41: warning: narrowing conversion of 'u' from 'std::tuple_element<1, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
31 | if (dist.count({u, p}) && dist[{u, p}] != d) continue;
| ^
Main.cpp:31:44: warning: narrowing conversion of 'p' from 'std::tuple_element<2, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
31 | if (dist.count({u, p}) && dist[{u, p}] != d) continue;
| ^
Main.cpp:39:33: warning: narrowing conversion of 'u' from 'std::tuple_element<1, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
39 | if (!dist.count({v, u}) || dist[{v, u}] > d + cost) {
| ^
Main.cpp:39:49: warning: narrowing conversion of 'u' from 'std::tuple_element<1, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
39 | if (!dist.count({v, u}) || dist[{v, u}] > d + cost) {
| ^
Main.cpp:40:26: warning: narrowing conversion of 'u' from 'std::tuple_element<1, std::array<long long int, 3> >::type' {aka 'long long int'} to 'int' [-Wnarrowing]
40 | dist[{v, u}] = d + cost;
| ^