
搜索
搜索
DeepGoAI
欢迎学习交流!
展开
-
D - DomiNo Grid ZOJ - 2925
D - DomiNo Grid ZOJ - 2925 Dominoes are small, flat, rectangular-shaped game pieces. Domino pieces are usually twice as long as they are wide and are usually made to be exactly half as thick as th...翻译 2019-02-03 10:51:32 · 214 阅读 · 0 评论 -
Push Box HDU - 1732
Push BoxHDU - 1732Push Box is a classic puzzle game. This game play in a grid, there are five types of block in it, the player, the box, the hole, empty place, and the wall. In every step, playe...翻译 2019-03-03 23:08:11 · 246 阅读 · 0 评论 -
Fill UVA - 10603
FillUVA - 10603题目大意:给定三个水杯,a,b,c ,并且 a,b 为空杯,c 倒满,给定一个容量 d 要求给出当,杯中有出现容量为d 的情况时,给出最少的水交换容量,如果没有 则给出d' 要求 d' 尽可能得接近 d思路:使用爆搜,广度优先遍历,对应的记录每一个状态下的 每一个杯子的含有的水量和已经交换的水的容量当出现d容量的情况时...翻译 2019-03-07 13:25:59 · 234 阅读 · 0 评论 -
蓝桥杯2017c++A组真题&代码第二题跳蚱蜢
蓝桥杯2017c++A组真题&代码第二题跳蚱蜢/*标题:跳蚱蜢如图 p4-1.png 所示:有9只盘子,排成1个圆圈。其中8只盘子内装着8只蚱蜢,有一个是空盘。我们把这些蚱蜢顺时针编号为 1~8每只蚱蜢都可以跳到相邻的空盘中,也可以再用点力,越过一个相邻的蚱蜢跳到空盘中。请你计算一下,如果要使得蚱蜢们的队形改为按照逆时针排列,并且保持空盘的位置不变...原创 2019-03-23 16:10:07 · 916 阅读 · 0 评论