|
|
вернуться в форум60000 not very large but... Послано svr 12 окт 2008 00:20 Right math idea was having TLE for using set and vector after set. The same idea has AC 0.125 with malloc function for dynamic arrays. Re: 60000 not very large but... First , I used map < pair< int , int > , int > for finding lines of length 1 , but gave TLE too, then I did it in O(k) and got AC :) Edited by author 12.10.2008 03:27 |
|
|