|
|
вернуться в форумGetting TLE, Please Help Послано shilp 16 авг 2008 01:00 I am trying to take all possible combinations of k and run union-find to check if 0-1 are connected in that combinations. complexity is O(M(2^K)). is there a faster approach? Edited by author 16.08.2008 01:01 |
|
|