|
|
back to boardRe: Test 14 WA, please help I Have TLE on test 14, but my solution work O(n*log(n)). Qsort and linear algorithm O(n)! I don't understant why TLE. Re: Test 14 WA, please help Posted by svr 31 Oct 2007 14:08 Instead of qsort better O(n) sort using arr[43200] (busket) Re: Test 14 WA, please help or maybe use for i := 1 to n do swap(a_[random(n)+1],a_[random(n)+1]);
Re: Test 14 WA, please help It's O(MAXTIME), MAXTIME=12*60*60 Re: Test 14 WA, please help WA 12....=( Re: Test 14 WA, please help in promblem say that all clock difrent but in 14 test some clock have same time and it amount >255 :) Re: Test 14 WA, please help in promblem say that all clock difrent but in 14 test some clock have same time and it amount >255 :) Judge Look!!! Re: Test 14 WA, please help I got WA#14 too :( ... please give me some usefull tests... thX |
|
|