
DFS
ZAX1
这个作者很懒,什么都没留下…
展开
-
蓝桥杯历届试题——大臣的旅费【DFS】
历届试题 大臣的旅费 时间限制:1.0s 内存限制:256.0MB问题描述很久以前,T王国空前繁荣。为了更好地管理国家,王国修建了大量的快速路,用于连接首都和王国内的各大城市。为节省经费,T国的大臣们经过思考,制定了一套优秀的修建方案,使得任何一个大城市都能从首都直接或者通过其他大城市间接到达。同时,如果不重复经过大城市,从首都到达每个大城市的方案都是唯一...原创 2019-03-23 14:23:31 · 153 阅读 · 0 评论 -
Farm Irrigation【DFS】
Problem DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these squares. Different square has ...原创 2019-04-17 17:30:22 · 145 阅读 · 0 评论