數學與統計
大學
已解決
離散數學 第一章
請問第19題怎麼算
第二張是答案可以參考
19. How many times is the print statement executed for the
following program segment? (Here, i, j, k, and m are integer
variables.) ni diaq orta
)
for i:=1 to 20 do
as U =
for j := 1 to i do
for k := 1 to j do
for m:= 1 to k do
groll
print (i* j) + (k * m)
8
35
(32
28.
8
=
2i
b) 512
i=1
1. a) (16) b) (3) c) (3)
3. (38)
5. a) 25 b) 2n
CE 41
7. a) (3)
)
b) (25) c) (5) d) 1
8
f) (28) -
9. n=7 11. a) (14) b) (15') + 3(1) +3() + ()
3
13. a) (6) b) :- (-21) 15. (23) (24!) 17. a) (12)
2i) 120
19. (23)
21. 24,310 = 21-i [for n= (13)]
()
23. a) Place one of the m identical objects into each of the n distinct containers. Th
identical objects to be placed into the n distinct containers, resulting in
n+ (m - n)-
(*+ * = * = 1) = (n = 1) = (% = ) distributions.
25. a) 29 b) 24
27. a) (3 +3 - 1) =4 b) 10 c) 48 d) (+4- )(+3 - ') +(3+2 - 1)(2+5
+
e) 180 f) 420
n
-
=
-
m-n
m-n
(+(2+3
(3+
.
12+5
=
解答
您的問題解決了嗎?
看了這個問題的人
也有瀏覽這些問題喔😉
推薦筆記
經濟學-個經
847
1
微積分甲(一)
767
14
經濟學-總經
765
2
[大一微積分] Chapter2:微分學【暫停更新】
449
12
微積分(ㄧ)(二)超詳細筆記(更新)
364
1
統計學(一)
345
4
大學微積分【第零、一章】重點整理
328
6
[微積分] 積分(Integrals)
221
2
大學微積分【第二章】重點整理
198
0