2011年8月25日
摘要: 基础题:1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、1061、1070、1076、1089、1090、1091、1092、1093、1094、1095、1096、1097、1098、1106、1108、1157、1163、1164、1170、1194、1196、1197、1201、1202、1205、1219、1234、1235、1236、1248、1266、1279、1282、1283、1302、1303、1323、1326、1330、1334、1 阅读全文
posted @ 2011-08-25 20:34 猿类的进化史 阅读(543) 评论(0) 推荐(0) 编辑
摘要: hdoj 1010题目大意:给一个地图,在规定时间内刚好找到出口,不早也不能晚解决:dfs+剪枝#include <iostream>#include <cstdio>#include <cmath>using namespace std;#define s scanf#define p printf#define d "%d"char map[8][8];int n,m,step;bool escape;int sx,sy,ex,ey;int dx[]={1,-1,0,0};int dy[]={0,0,1,-1};void dfs(in 阅读全文
posted @ 2011-08-25 15:02 猿类的进化史 阅读(241) 评论(0) 推荐(0) 编辑