討論串[問題] 資結
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者soarinsoar (焉知)時間16年前 (2009/05/11 00:53), 編輯資訊
0
0
0
內容預覽:
stack是FILO. push(10) => ˍˍˍˍ. 10 |.  ̄ ̄ ̄ ̄. push(20) => ˍˍˍˍˍ. 20 10 |.  ̄ ̄ ̄ ̄ ̄. push(30) => ˍˍˍˍˍˍ. 30 20 10 |.  ̄ ̄ ̄ ̄ ̄ ̄. push(pop()+40) => pop出30 , 30+40=
(還有883個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者kaedeyuki (大R)時間16年前 (2009/05/06 15:43), 編輯資訊
0
0
0
內容預覽:
有兩題,但不敢肯定答案,想請問一下解法,懇求幫助謝謝. 1. 假設堆疊大小是6,push()函數會江資料加入堆疊內,pop()函數會取出堆疊頂端資料若有一程式如下,請寫出printf()函數執行的結果. Void main(). {. push(10);. push(20);. push(30);.
(還有226個字)

推噓0(0推 0噓 6→)留言6則,0人參與, 最新作者gensim (...)時間16年前 (2009/04/09 23:57), 編輯資訊
0
0
0
內容預覽:
procedure p(a,b,c). begin. b=b+2;. c=c*a;. end. program main (in, out). begin. m:=3;. n:=4;. p(m+n,m,m);. print(m);. end. 請問使用call-by name算出來的值是29還是45

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者ivy741130 (期待~~)時間16年前 (2009/03/27 08:45), 編輯資訊
0
0
0
內容預覽:
97北科商管計概有題. A B D K M P S. 若要使用binary search決定J插入位置. 請問要如何表示呢?. 另外當決定J時是哪兩個元素比較呢?. 是A和S嗎?. 謝謝:). --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 60.251.212.66.
首頁
上一頁
1
下一頁
尾頁