Тавсифи масъала
You are given a connected undirected graph with vertices and edges. Each edge has a nonnegative weight indicating the energy required to traverse it. There are robots. Robot has a battery with (to-be-determined) capacity , starts at vertex , and wants to reach vertex .