|
|
вернуться в форумIdea something tells me that it must be solved by building a graph and finding strongly connected components for each new income of data. :)) Re: Idea Послано Dudo 17 май 2007 13:42 It can be solved by using disjoint set.And hash table may be useful to help,or you can use binary search instead. |
|
|