- 博客(12)
- 资源 (4)
- 收藏
- 关注
原创 uva-839 Not so Mobile
Before being an ubiquous communications gadget, a mobile was just a structure made of strings and wires suspending colourfull things. This kind of mobile is usually found hanging over cradles of small
2013-07-06 20:19:49 1033
原创 uva-699 The Falling Leaves
Each year, fall in the North Central region is accompanied by the brilliant colors of the leaves on the trees, followed quickly by the falling leaves accumulating under the trees. If the same thing ha
2013-07-06 20:13:17 1605
原创 uva-712 S-Trees
A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function. Each path of the S-tree begins at the root node and consists of n+1 nodes. Each of the S-tree's nodes
2013-07-06 20:07:10 1428
原创 uva-297 Quadtrees
A quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into four quadrants. Each quadrant may again be split in four sub q
2013-07-06 20:01:03 1622
原创 uva-112 Tree Summing
BackgroundLISP was one of the earliest high-level programming languages and, with FORTRAN, is one of the oldest languages currently being used. Lists, which are the fundamental data structures in
2013-07-06 19:51:51 1414
原创 uva-548 Tree
You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary tree to any leaf. The value of a path is the sum o
2013-07-04 19:13:39 1177
原创 uva-10050 Hartals
A social research organization has determined a simple set of parameters to simulate the behavior of the political parties of our country. One of the parameters is a positive integer h (called the
2013-07-04 15:58:08 1067
原创 uva-11234 Expressions
Arithmetic expressions are usually written with the operators in between the two operands (which is called infix notation). For example,(x+y)*(z-w) is an arithmetic expression in infix notation. Howev
2013-07-04 15:54:46 991
原创 uva-11111 Generalized Matrioshkas
Vladimir worked for years making matrioshkas, those nesting dolls that certainly represent truly Russian craft. A matrioshka is a doll that may be opened in two halves, so that one finds another doll
2013-07-04 15:44:47 1059
原创 uva-442 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 multiplications are performed is arbitrary. H
2013-07-04 15:36:42 1640
原创 uva-673 Parentheses Balance
Description 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 corre
2013-07-04 15:26:41 1546
原创 uva-133 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 will be placed in a large
2013-07-04 15:19:14 3190
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人