2014年8月10日

uva 699 - The Falling Leaves

摘要: The Falling LeavesEach year, fall in the North Central region is accompanied by the brilliant colors of the leaves on the trees, followed quickly by ... 阅读全文

posted @ 2014-08-10 16:38 jec 阅读(161) 评论(0) 推荐(0) 编辑

uva 712 - S-Trees

摘要: S-TreesA 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 n... 阅读全文

posted @ 2014-08-10 16:36 jec 阅读(217) 评论(0) 推荐(0) 编辑

uva 297 - Quadtrees

摘要: QuadtreesA quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into fou... 阅读全文

posted @ 2014-08-10 16:35 jec 阅读(206) 评论(0) 推荐(0) 编辑

uva 548 - Tree

摘要: TreeYou 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 bi... 阅读全文

posted @ 2014-08-10 16:34 jec 阅读(172) 评论(0) 推荐(0) 编辑

uva 112 - Tree Summing

摘要: Tree SummingBackgroundLISP was one of the earliest high-level programming languages and, with FORTRAN, is one of the oldest languages currently being ... 阅读全文

posted @ 2014-08-10 16:32 jec 阅读(324) 评论(0) 推荐(0) 编辑

uva 10050 - Hartals

摘要: Problem D: HartalsA social research organization has determined a simple set of parameters to simulate the behavior of the political parties of our c... 阅读全文

posted @ 2014-08-10 16:30 jec 阅读(518) 评论(0) 推荐(0) 编辑

uva 540 - Team Queue

摘要: Team QueueQueues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, ... 阅读全文

posted @ 2014-08-10 16:28 jec 阅读(248) 评论(0) 推荐(0) 编辑

uva 11234 - Expressions

摘要: Problem E: ExpressionsArithmetic expressions are usually written with the operators in between the two operands (which is called infix notation). For ... 阅读全文

posted @ 2014-08-10 16:26 jec 阅读(379) 评论(0) 推荐(0) 编辑

uva 11111 - Generalized Matrioshkas

摘要: Problem B - Generalized MatrioshkasVladimir worked for years making matrioshkas, those nesting dolls that certainly represent truly Russian craft. A ... 阅读全文

posted @ 2014-08-10 16:23 jec 阅读(171) 评论(0) 推荐(0) 编辑

uva 673 - Parentheses Balance

摘要: Parentheses BalanceYou are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a)if it is the empty stri... 阅读全文

posted @ 2014-08-10 16:21 jec 阅读(219) 评论(0) 推荐(0) 编辑

uva 127 - "Accordian" Patience

摘要: ``Accordian'' PatienceYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one by one in ... 阅读全文

posted @ 2014-08-10 16:19 jec 阅读(272) 评论(0) 推荐(0) 编辑

导航