![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ZOJ
文章平均质量分 73
hushhw
这个作者很懒,什么都没留下…
展开
-
ZOJ Problem Set - 1003Crashing Balloon
Crashing BalloonTime Limit: 2 Seconds Memory Limit: 65536 KB On every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple. On原创 2017-11-21 11:10:51 · 313 阅读 · 0 评论 -
ZOJ Problem Set - 1016 Parencodings
ParencodingsTime Limit: 2 Seconds Memory Limit: 65536 KBLet S = s1 s2 ... s2n be a well-formed string of parentheses. S can be encoded in two different ways:By an integer sequence原创 2017-11-27 20:48:39 · 295 阅读 · 0 评论 -
ZOJ Problem Set - 1004 Anagrams by Stack
Anagrams by StackTime Limit: 2 Seconds Memory Limit: 65536 KBHow can anagrams result from sequences of stack operations? There are two sequences of stack operators which can conve原创 2017-11-27 19:16:34 · 341 阅读 · 0 评论 -
ZOJ Problem Set - 1094 Matrix Chain Multiplication
Matrix Chain MultiplicationTime Limit: 2 Seconds Memory Limit: 65536 KBMatrix multiplication problem is a typical example of dynamical programming.Suppose you have to evaluate an expr原创 2017-11-27 19:13:34 · 216 阅读 · 0 评论 -
ZOJ Problem Set - 2104 Let the Balloon Rise(map)
Let the Balloon RiseTime Limit: 2 Seconds Memory Limit: 65536 KBContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite tim原创 2017-11-27 21:49:18 · 355 阅读 · 0 评论 -
ZOJ Problem Set - 1074 To the Max (最大和子矩阵 dp)
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguo原创 2017-10-25 16:12:02 · 337 阅读 · 0 评论 -
ZOJ Problem Set - 1828 Fibonacci Numbers(大数相加)
Fibonacci NumbersTime Limit: 2 Seconds Memory Limit: 65536 KBA Fibonacci sequence is calculated by adding the previous two members of the sequence, with the first two members being both 1原创 2017-11-30 20:28:16 · 418 阅读 · 0 评论 -
ZOJ Problem Set - 1633 Big String(斐波拉契)
Big StringTime Limit: 2 Seconds Memory Limit: 65536 KBWe will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). R原创 2017-11-30 19:40:00 · 403 阅读 · 0 评论 -
ZOJ1002-Fire Net(深度优先搜索)
题目描述:给一张4*4的地图,其中有黑色方框表示为墙,要求放置碉堡,使碉堡不能相互攻击(假设碉堡打不穿墙),求最多能放多少个碉堡。1045 Fire Net" title="【HDU】 1045 Fire Net" style="margin:0px; padding:0px; border:0px; list-style:none; color:rgb(70,70,70); font原创 2017-10-27 20:57:04 · 742 阅读 · 0 评论 -
ZOJ Problem Set - 1944 Tree Recovery(二叉树三种遍历知二求三)
Tree RecoveryTime Limit: 2 Seconds Memory Limit: 65536 KBLittle Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with原创 2017-11-27 21:30:32 · 361 阅读 · 0 评论