随便写写的搜索
摘要:今天班上的女孩子问我两道搜索题,感觉自己好快,,,好久没这么自信过了 !! 第一题是这样的给定两个数n m问把n拆成m个数相加输出方案数,只记得n,m都不大下面贴一下代码#include using namespace std; int n,k; long r; void dfs(int a,i...
阅读全文
posted @ 2015-04-25 09:16
posted @ 2015-04-25 09:16
posted @ 2015-04-04 09:59
posted @ 2015-04-03 22:21
posted @ 2015-04-03 16:50
posted @ 2015-04-03 11:54