how to find shortest cycle in weighted undirected graph?
can you share your idea?
Codeforces Round 946 Solution Discussion