[ybt gold navigation 3-5-5] [luogu P1262] spy network
Spy network
Title Link: ybt gold navigation 3-5-5 / luogu P1262
General idea of the topic
There are some people, some of them, you can catch them, and then there is a fee. Then after a person is caught, he can help you catch some people. Ask if you can catch everyone with the minimum cost. If you can output the minimum cost, otherwise output ...
Posted by rage123456 on Fri, 11 Feb 2022 19:33:25 +0100
CF662B Graph Coloring problem solution -- zhengjun
Title portal
General idea of the topic
Give you an undirected graph. Each edge in the graph is blue or red. Each time you select a point, you will reverse the color of the edge connected to the point (red turns blue and blue turns red). The scheme of finding the minimum number of steps will make the color of all edges the same.
thinking ...
Posted by mevasquez on Tue, 18 Jan 2022 03:45:19 +0100