| 
 | 
вернуться в форумGreat problem! Thanks to authors :) Re: Great problem! Послано  svr 30 ноя 2009 10:31 It became such when true claster analysis began or inner structure of each claster is forgotten and clasters  are simple poins again. Some time I was tried to trace complicated inner structure but failed. Re: Great problem! is there simpler solution?? I use brute_force search.... Re: Great problem! Yes, O(n^3) solution (maybe can be optimized to O(n^2*log(n)) with nice tree merging) based on MST. Great problem!!! Re: Great problem! Послано  Ade 1 окт 2023 13:22 yes. love the problem.   some tests:   5   0 0     0 1     0 2     0 4     0 5 5   0 0     0 1     0 3     0 4     0 5 0  |  
  | 
|