推 march20:四方是指 n^4? 66.75.255.220 04/11 12:31
→ sorryChen:對阿 n^3 * k 207.151.230.57 04/11 12:59
※ 編輯: sorryChen 來自: 207.151.230.57 (04/11 13:02)
→ askker:給定的n個數字間有規律嗎? 220.136.202.45 04/11 13:04
推 yoco315:幫推,想不出來 -,- 118.160.117.43 04/11 13:27
推 march20:看來是個 n*n*k 的表 66.75.255.220 04/11 16:44
推 march20:好像夠好了 @@ 66.75.255.220 04/11 16:45
推 march20:咦, 似乎可以少一個 n. 考慮這樣的表 66.75.255.220 04/11 16:53
推 march20:T[i,j]=起點為 p0, 終點為 pi 總共選j點 66.75.255.220 04/11 16:55
推 march20:其中最大的最小距離? 66.75.255.220 04/11 16:56
推 march20:T[i,j]=max(1<x<i;min(T[x,j-1],D(x,i))) 66.75.255.220 04/11 17:00
推 march20: = 66.75.255.220 04/11 17:03
推 march20:不過"起點一定會選"看起來是個錯的假設@@ 66.75.255.220 04/11 17:05
推 march20:(又想了一下, 拿掉 p0 好像不會怎樣) 66.75.255.220 04/11 17:08
推 march20:(所以 k*n^2 應該是可以達成的) 66.75.255.220 04/11 17:11
推 stimim:use binary search might have a O(n lg L) 61.228.152.73 04/11 20:28
→ stimim:algorithm,sorry I can't type chinese now 61.228.152.73 04/11 20:29
→ stimim:where L is the dist. form start to end 61.228.152.73 04/11 20:29
→ stimim: ^^^^ from 61.228.152.73 04/11 20:31
→ sorryChen:非常感謝前輩的回答 我轉錄了同學的解答 67.152.86.163 04/13 14:19