
回溯
文章平均质量分 76
查尔德77
努力改变自己
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZOJ1002
//主要是为了测试 回溯法,所以采用简单的 #include #include using namespace std; struct castleT { int x,y; }; castleT castle[16]; char map[4][4]; int size,count=0,max_num=0; bool ok(int i,int j) { if(map[i][j]!原创 2014-06-27 15:00:10 · 486 阅读 · 0 评论 -
zoj1004 回溯
干,平生第一次直接过了,原创 2014-07-05 13:23:38 · 467 阅读 · 0 评论