摘要:
超简单的回溯题,但两个月前我都不敢直视,今天又突然想起来,十分钟就搞定了。。。#include using namespace std;static int tot=0;void search_q(int cur,int* p,int n){ int i,j; if(cur==n) { tot++; cout<<tot<<":"; for... 阅读全文
posted @ 2013-03-08 19:18
码代码的猿猿
阅读(137)
评论(0)
推荐(0)
摘要:
看:http://www.cnblogs.com/abatei/archive/2008/11/17/1335031.html 阅读全文
posted @ 2013-03-08 01:20
码代码的猿猿
阅读(89)
评论(0)
推荐(0)