Chinaunix首页 | 论坛 | 博客
  • 博客访问: 125507
  • 博文数量: 42
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 354
  • 用 户 组: 普通用户
  • 注册时间: 2014-07-01 15:34
个人简介

不晓得说啥子

文章分类

全部博文(42)

文章存档

2015年(41)

2014年(1)

我的朋友

发布时间:2015-04-04 10:32:55

点击(此处)折叠或打开#include<iostream>#include<queue>using namespace std;int n,m,T,zd,xd,yd,vist[2][11][11],flag;char map[2][11][11];int dir[4][2]={1,0,0,1,-1,0,0,-1};struct node{.........【阅读全文】

阅读(1010) | 评论(0) | 转发(0)

发布时间:2015-04-04 10:26:25

点击(此处)折叠或打开//广搜 +深度记忆化搜索#include#includeusing namespace std;#define MAX 1000000000int n,map[51][51],dis[51][51];__int64 dp[51][51];int dir[4][2].........【阅读全文】

阅读(1049) | 评论(0) | 转发(0)

发布时间:2015-04-04 10:21:49

//我个人的理解就是当前行的结果只与前一行的结果有关//所以每次枚举行的时候滚动数组的行%2;//就只有0,1,两种状态 也就是两行交替存储答案 。。。就这样的 不然内存不够用的哦#include#includeusing namespace std;int ans[3][5005];int max(int a,int b){   &nbs.........【阅读全文】

阅读(923) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册