DescriptionAfter
a long lasting war on words, a war on arms finally breaks out between
littleken’s and Kn...
(詳全文)
發表時間:2013-12-01 11:47:04 | 回應:0
1. Given a 2-dimensional nn matrix of 0/1 integers, design a linear time algorithm to find a subrectanglewit...
(詳全文)
發表時間:2013-11-16 18:14:19 | 回應:0
前略3. Given an integer (not necessary a decimal number) with n digits, we want to remove m ( n)digits from ...
(詳全文)
發表時間:2013-11-16 18:08:21 | 回應:0
Description
你是一家建築公司的建築工程師,你被派來做一塊空地的建築策劃工作。
這是一塊矩形的空地,你必須...
(詳全文)
發表時間:2013-11-11 09:22:00 | 回應:0
DescriptionA histogram
is a polygon composed of a sequence of rectangles aligned at a common
base line. Th...
(詳全文)
發表時間:2013-11-11 09:10:24 | 回應:0
前序走訪給定中序走訪、後序走訪描述我们知道如何按照三种深度优先次序来周游一棵二叉树,来得到中根序列、前根序列和...
(詳全文)
發表時間:2013-11-09 20:23:03 | 回應:0
DescriptionPeople in
Silverland use coins.They have coins of value A1,A2,A3...An Silverland
dollar.One day...
(詳全文)
發表時間:2013-11-09 20:12:04 | 回應:0
DescriptionGive a tree with n vertices,each edge has a length(positive integer less than 1001).
Define dist(u...
(詳全文)
發表時間:2013-11-09 20:06:06 | 回應:0
web. The On-Line Encyclopedia of Integer Sequences1. Recall the recursive program (discussed in the class) th...
(詳全文)
發表時間:2013-10-08 17:41:25 | 回應:0
輸入格式:MIPS 32 bits instruction, 以字元的方式表示。一行一個指令,直到 EOF。助教會陸續公布不同的指令順序,其...
(詳全文)
發表時間:2013-06-25 16:56:26 | 回應:0
[程式作業三] 滿分100分
Input:
(1) Grammar
(2) First set
(3) production rule S
Output: ...
(詳全文)
發表時間:2013-05-21 08:22:29 | 回應:0
參考:http://www.4ngel.net/article/17.htmMakeMazeDemo.PNG[深度優先] 隨機迷宮生成生成迷宮的算法,從生成樹(廣度建...
(詳全文)
發表時間:2013-05-19 21:28:29 | 回應:0
DescriptionBackground
Line segments are a very common element in computational geometry. A
line segment is ...
(詳全文)
發表時間:2013-04-30 11:35:26 | 回應:0
Midterm Examination Total 100 points1. [20 points] MIPS (1)There are 3 basic formats in MIPS. Fill in the foll...
(詳全文)
發表時間:2013-04-27 19:58:00 | 回應:0
[程式作業二] 滿分100分Input: a file named DFA and Output:vaild or errorinput範例檔1:DFA1.txt (a,b)(1,2)(*3,4,...
(詳全文)
發表時間:2013-04-14 19:24:23 | 回應:0