看板 Grad-ProbAsk 關於我們 聯絡資訊
show the location ofA[i,j] with row-major addressing,if Array is declared as A[1...m,1...n],beginning with Base and each componet occupies W units of space. 這一題是在問什麼啊... 這種類似題不都是問PF嗎?? 感覺又不太像 各位高手幫忙一下 .....> < -- 一切.... 似乎都不再那麼重要.... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.46.163.237 ※ 編輯: lovefo 來自: 114.46.163.237 (01/30 19:31)
true07:就是A[i,j]的address 01/30 20:06
true07:A[i,j] = Base + [(i-1)*n + (j-1)]*W 01/30 20:13