dfs
文章平均质量分 76
JJing
小菜鸟的自白。。。O(∩_∩)O~
展开
-
POJ 1101 Sticks
题目大意:输入N个数,表示以将若干个长度为L的木棒分为N个长度如下的小段,求最小的L。。。DescriptionGeorge took sticks of the same length and cut them randomly until all parts beca原创 2011-08-07 14:02:29 · 2854 阅读 · 1 评论 -
POJ 3895 Cycles of Lanes
题目大意:找出定点最多的环,输出定点数~DescriptionEach of the M lanes of the Park of Polytechnic University of Bucharest connects two of the N crossroads o原创 2011-08-07 17:26:59 · 984 阅读 · 0 评论 -
ZJNU 1006 骑士游历
Description设有一个n*m的棋盘(2马走的规则为: 1.马走日字 2.马只能向右走 即如下图所示: 任务:当N,M 给出之后,同时给出马起始的位置和终点的位置,试找出从起点到终点的所有路径的数目. 例如:(N=10,M=10),(1,5原创 2011-08-11 17:27:14 · 809 阅读 · 0 评论