记忆化搜索,poj1088
摘要:
flag【i】【j】表示以现在这个位置为起点的最远能走的长度,熟悉下递归,这个题应该不难,记忆化#include#include#define Max 105#define Maxhigh 10005typedef struct { int x,y;}position;position move[4... 阅读全文
posted @ 2012-05-22 22:58 梦,才是最真的现实 阅读(130) 评论(0) 推荐(0) 编辑