
递推
gi2gj05h
这个作者很懒,什么都没留下…
展开
-
【POJ 2440】 Dna
DescriptionA kind of virus has attacked the X planet, and many lives are infected. After weeks of study, The CHO (Creature Healthy Organization) of X planet finally finds out that this kind of v原创 2016-04-04 15:38:24 · 637 阅读 · 0 评论 -
【HDU 1396】 【ZOJ 1629】 Counting Triangles
Description给出形如下图的三角形,问它包含多少个小三角形.Input测试包含多组数据,每行一个数N,代表三角形的层次,上图样例为二层。N整个测试以数字零代表结束Output输出包括多行,每行一个数,结果如题所要求。Sample Input1230Sample Output1513HINT原创 2016-04-04 15:26:12 · 864 阅读 · 0 评论 -
【HDU 2604】 Queuing
Problem DescriptionQueues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our daily life. There are many people lined up at the lunch原创 2016-04-04 17:22:00 · 347 阅读 · 0 评论