摘要:
题意:找到不重复的,加起来等于给定的数。连接:http://acm.hdu.edu.cn/showproblem.php?pid=1258View Code #include <iostream>#include <algorithm>using namespace std;int used[15];//标记的数int save[15];//保存更新的数int step[15];//输入的数int n,m;int sum,type;int cmp(int a,int b){ return a>b;}void dfs(int k,int x){ if(k==n) { 阅读全文
posted @ 2012-09-11 14:31
Keep Strive
阅读(215)
评论(0)
推荐(0)
2012年9月11日