![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
文章平均质量分 83
码码要洗手
我很重要
展开
-
石油合并
点击打开链接 往四个方向深搜索即可。重点理解递归就可,递归是系统自己调用一个栈。 它会1,将所有的实在参数,返回地址等信息给调用函数保存。 2,为被调用的函数分配内存。 3,转移到调用函数的入口。 #include #include int n,m,many; int map[55][55]; char s[55][55]; int dfs(int i,int j){原创 2014-02-16 18:08:39 · 1052 阅读 · 0 评论 -
新连连看
点击打开链接 边枚举,边搜索。 #include #include typedef struct { int x,y; }Queue; Queue queue[500]; char map[11][11],ans[11]; int visit[11][11]; int dir[4][2]={1,0,0,1,-1,0,0,-1}; int bfs(int x,int y原创 2014-02-16 20:09:32 · 712 阅读 · 0 评论 -
骑士移动
点击打开链接 Play again TimeLimit: 1 Second MemoryLimit: 32 Megabyte Totalsubmit: 104 Accepted: 23 Description Everyone knows the "knight move" problem. Today you are goin原创 2014-02-17 17:32:48 · 724 阅读 · 0 评论 -
Sum It Up
点击打开链接 Sum It Up Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3446 Accepted Submission(s): 1739 Problem Description原创 2014-02-17 20:49:13 · 497 阅读 · 0 评论 -
宝石游戏
点击打开链接 Jewelry TimeLimit: 1 Second MemoryLimit: 32 Megabyte Totalsubmit: 77 Accepted: 25 Description The jewelry game is an interesting game. this game is run in a box原创 2014-02-17 16:34:47 · 1300 阅读 · 5 评论 -
POJ2965_The Pilots Brothers' refrigerator
题目大意: 给你一个原创 2014-07-21 21:22:34 · 466 阅读 · 0 评论 -
hdu1459_非常可乐
题目大意: 有一杯可乐,原创 2014-07-27 12:04:49 · 921 阅读 · 0 评论