Main.cpp: In function 'void to_thic_cau()':
Main.cpp:32:20: warning: narrowing conversion of 'v' from 'long long int' to 'int' [-Wnarrowing]
32 | adj[u].pb({v,c,p}); adj[v].pb({u,c,p});
| ^
Main.cpp:32:22: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
32 | adj[u].pb({v,c,p}); adj[v].pb({u,c,p});
| ^
Main.cpp:32:40: warning: narrowing conversion of 'u' from 'long long int' to 'int' [-Wnarrowing]
32 | adj[u].pb({v,c,p}); adj[v].pb({u,c,p});
| ^
Main.cpp:32:42: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
32 | adj[u].pb({v,c,p}); adj[v].pb({u,c,p});
| ^
Main.cpp:33:21: warning: narrowing conversion of 'v' from 'long long int' to 'int' [-Wnarrowing]
33 | g[u][c].pb({v,c,p}); g[v][c].pb({u,c,p});
| ^
Main.cpp:33:23: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
33 | g[u][c].pb({v,c,p}); g[v][c].pb({u,c,p});
| ^
Main.cpp:33:42: warning: narrowing conversion of 'u' from 'long long int' to 'int' [-Wnarrowing]
33 | g[u][c].pb({v,c,p}); g[v][c].pb({u,c,p});
| ^
Main.cpp:33:44: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
33 | g[u][c].pb({v,c,p}); g[v][c].pb({u,c,p});
| ^
Main.cpp:41:27: warning: narrowing conversion of 'd[1].std::map<int, long long int>::operator[](0)' from 'std::map<int, long long int>::mapped_type' {aka 'long long int'} to 'int' [-Wnarrowing]
41 | q.push({1, d[1][0], 0});
| ^
Main.cpp:52:33: warning: narrowing conversion of 'v' from 'long long int' to 'int' [-Wnarrowing]
52 | q.push({v, d[v][0], 0});
| ^
Main.cpp:52:47: warning: narrowing conversion of 'd[v].std::map<int, long long int>::operator[](0)' from 'std::map<int, long long int>::mapped_type' {aka 'long long int'} to 'int' [-Wnarrowing]
52 | q.push({v, d[v][0], 0});
| ^
Main.cpp:57:33: warning: narrowing conversion of 'v' from 'long long int' to 'int' [-Wnarrowing]
57 | q.push({v, d[v][c], c});
| ^
Main.cpp:57:47: warning: narrowing conversion of 'd[v].std::map<int, long long int>::operator[](((std::map<int, long long int>::key_type)c))' from 'std::map<int, long long int>::mapped_type' {aka 'long long int'} to 'int' [-Wnarrowing]
57 | q.push({v, d[v][c], c});
| ^
Main.cpp:67:29: warning: narrowing conversion of 'v' from 'long long int' to 'int' [-Wnarrowing]
67 | q.push({v, d[v][0], 0});
| ^
Main.cpp:67:43: warning: narrowing conversion of 'd[v].std::map<int, long long int>::operator[](0)' from 'std::map<int, long long int>::mapped_type' {aka 'long long int'} to 'int' [-Wnarrowing]
67 | q.push({v, d[v][0], 0});
| ^
Main.cpp:64:29: warning: unused variable 'c' [-Wunused-variable]
64 | ll v = x.v, c = x.c, p = x.p;
| ^