
递归搜索
文章平均质量分 87
zsc09_leaf
add oil
展开
-
pku 1164 -- The Castle (递归)
<br />1164 -- The Castle (递归)<br />The CastleTime Limit: 1000MS Memory Limit: 10000K<br />Total Submissions: 4361 Accepted: 2460<br /><br /><br />Description<br /> <br /><br /> <br />Figure 1 shows the map of a castle.Write a program that cal原创 2011-03-02 17:15:00 · 813 阅读 · 0 评论 -
poj 3909 --Lucky numbers(搜索)
题源:http://poj.org/problem?id=3909题意:very lucky number 定义:我们称只包含 4和 7的为lucky number ,由一个或多个 lucky number的成绩得到的数我们就叫做very lucky number 解法:只由4和7组成的 只有8000多个先找出这些数 (lucky number )再由这些数搜索出 very lucky number 大概有35W个 //3520K 125MS#include #include原创 2011-05-20 14:04:00 · 2206 阅读 · 0 评论 -
poj -- 1426 Find The Multiple (搜索)
题目连接:http://poj.org/problem?id=1426Find The MultipleTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8420 Accepted: 3443 Special JudgeDescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal rep原创 2011-04-07 16:47:00 · 1402 阅读 · 0 评论 -
poj -- 2287 Tian Ji -- The Horse Racing(田忌赛马,递归分治)
Tian Ji -- The Horse RacingTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 7104 Accepted: 2178DescriptionHere is a famous story in Chinese history. That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes t原创 2011-04-13 20:35:00 · 2433 阅读 · 0 评论 -
poj 1747 -- Expression(递归)
http://poj.org/problem?id=1747 ExpressionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 476 Accepted: 297DescriptionIt is known that Sheffer strok转载 2011-11-15 20:07:05 · 1054 阅读 · 0 评论