|
|
back to boardCommon BoardHow can I optimize 1129 Door Painting? Posted by peng du 22 Oct 2001 16:28 I find a alorithm 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 alorithm exists?Please help me. |
|
|