Let $S$ be the set of all possible graph, $W(G)$ be cost of MST of $G$, $T_{\leq x}(G)$ be the minimum spanning forest form by edges in $G$ with weight $\leq x$, $w_e$ be the weight of an edge. Then we have
Then the problem reduced to sth similar to this problem, and can be solved by dp.
Let $S$ be the set of all possible graph, $W(G)$ be cost of MST of $G$, $T_{\leq x}(G)$ be the minimum spanning forest form by edges in $G$ with weight $\leq x$, $w_e$ be the weight of an edge. Then we have
Then the problem reduced to sth similar to this problem, and can be solved by dp.