![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
phoenix8956
这个作者很懒,什么都没留下…
展开
-
极大极小算法伪代码-博弈算法(象棋游戏记录)
#define MAXNUM 65535 int getmaxscore(int dep){ maxscore=-MAXNUM; if(dep==0) return Eval(); getallposibile(allsteps); foreach(step as allsteps) { move(step);原创 2017-06-02 23:54:29 · 3420 阅读 · 0 评论 -
迷宫问题
#include<cstdio> #include<ctime> #include<cstdlib> #include<stack> char map[10][15] = { 0 }; void printfmap(char *pmap,int imax,int jmax) { printf("\n----------------------...原创 2018-06-06 08:36:52 · 434 阅读 · 0 评论