|
|
вернуться в форумОбщий форумhelp!!!! about problem 1129 I find a algorithm to erase circle from the graph,then only trees left,so the painting can be done.But When I use dfs to find circle,it gets time limit,How can I optimize it or other effective algorithm exists?Please help me. |
|
|