98中華電信 程式設計概論與資料庫管理 - 考試

By Gilbert
at 2013-07-13T16:15
at 2013-07-13T16:15
Table of Contents
[考題] 國考歷屆考題與考題觀念討論(書裡看到的選這個)
出處:如題
問題:
請使用遞?演算法完成f(a,n)=1+a+a^2+a^3+....+a^n
想到的終止條件是在
當n=1時,為1+a
可是每次的遞?
1+a
1+a+a^2
1+a+a^2+a^3
+...+a^n
就卡住了,請問這要怎麼解?
--
出處:如題
問題:
請使用遞?演算法完成f(a,n)=1+a+a^2+a^3+....+a^n
想到的終止條件是在
當n=1時,為1+a
可是每次的遞?
1+a
1+a+a^2
1+a+a^2+a^3
+...+a^n
就卡住了,請問這要怎麼解?
--
Tags:
考試
All Comments

By Kumar
at 2013-07-17T23:20
at 2013-07-17T23:20

By Valerie
at 2013-07-18T03:19
at 2013-07-18T03:19

By Caitlin
at 2013-07-20T05:08
at 2013-07-20T05:08

By Iris
at 2013-07-24T11:21
at 2013-07-24T11:21

By Elizabeth
at 2013-07-27T01:58
at 2013-07-27T01:58

By Joseph
at 2013-07-27T10:44
at 2013-07-27T10:44

By David
at 2013-08-01T09:28
at 2013-08-01T09:28

By Tracy
at 2013-08-05T23:49
at 2013-08-05T23:49

By Yuri
at 2013-08-07T17:34
at 2013-08-07T17:34

By Hedda
at 2013-08-08T13:55
at 2013-08-08T13:55

By Iris
at 2013-08-12T00:20
at 2013-08-12T00:20

By Necoo
at 2013-08-15T04:50
at 2013-08-15T04:50
Related Posts
沒考上的分數可以隨意說嗎?

By Sandy
at 2013-07-13T15:39
at 2013-07-13T15:39
基本電學

By Isabella
at 2013-07-13T15:36
at 2013-07-13T15:36
郵局自傳格式和面試考古題

By Harry
at 2013-07-13T15:01
at 2013-07-13T15:01
誰跟媒體舉報考古題問題

By Callum
at 2013-07-13T15:00
at 2013-07-13T15:00
請教補習班-文化行政

By Frederic
at 2013-07-13T14:04
at 2013-07-13T14:04