摘要: 背包问题: 首先我们考虑暴力法:每种情况试一下看看最小。这样的每层递归要分两次,为O(2^n) 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 using namespace std; 5 #define maxn 阅读全文
posted @ 2016-05-06 14:30 指尖泛出的繁华 阅读(305) 评论(0) 推荐(0)