|
|
вернуться в форумtell me what's wrong in my idea i decompose graph into connected components (by one dfs) after that i count diameter of each component(by one special_dfs) and refresh global_variable if need. my programm works at all my tests and sample test too. |
|
|