uva-线性表
文章平均质量分 91
冲鸭,胖哒哒
这个作者很懒,什么都没留下…
展开
-
uva673( Parentheses Balance)—线性表
Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a)if it is the empty string(b)if A and B are correct, AB is c原创 2014-08-02 08:25:49 · 415 阅读 · 0 评论 -
uva133(The Dole Queue)—线性表
The Dole Queue In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole applicants原创 2014-08-02 08:23:33 · 393 阅读 · 0 评论 -
uva127(纸牌游戏)—线性表+模拟
``Accordian'' Patience You are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows: Deal cards one by one in a row from left to right, not ove原创 2014-08-02 08:12:28 · 485 阅读 · 0 评论 -
uva10152(shellsort)—线性表
Problem D: ShellSort He made each turtle stand on another one's back And he piled them all up in a nine-turtle stack. And then Yertle climbed up. He sat down on the pile. What a wonderful view! He原创 2014-08-02 08:29:14 · 317 阅读 · 0 评论 -
uva101(The Blocks Problem)-线性表+模拟
The Blocks Problem Background Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robo原创 2014-07-30 17:55:32 · 313 阅读 · 0 评论 -
uva442(Matrix Chain Multiplication)—线性表
Matrix Chain Multiplication Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multi原创 2014-08-02 08:32:33 · 285 阅读 · 0 评论