|
|
вернуться в форумmy AC solution with 0.015s 220KB Послано sahand 31 мар 2008 16:52 MY ALGO TIME CONSUMED IS(250+128)*N unit my method is: divide distance between [0,32000] to 128 sector each sector is total of stars that occured in that portion hence for each x, level x calcute of bottom formula level = sector[x/250]+ Xpivot[i] that i=int(x/250)*250 to x in last update value of all sector that indexs greater than this sector index; Re: my AC solution with 0.015s 220KB Послано Intro 29 ноя 2008 01:40 Originally!!!! Re: my AC solution with 0.015s 220KB Nevermind Edited by author 09.04.2012 06:01 |
|
|