摘要: 就是对距离进行二分找最大值 ....#include #include #include #include using namespace std;int a[100010];int n,C;bool can(int lim){ int d = 0,w = 1; for(int i = ... 阅读全文
posted @ 2013-08-03 16:45 xlc2845 阅读(111) 评论(0) 推荐(0)
摘要: 额 一个贪心 好难想到 ......#include #include #include #include using namespace std;int a[1010];int b[1010];int flag1,flag2,flag3,flag4;int main(){ int n; ... 阅读全文
posted @ 2013-08-03 16:16 xlc2845 阅读(118) 评论(0) 推荐(0)
摘要: 将每一个分解为六个两面的 简单地dp 回溯输出路径.....#include #include #include #include using namespace std;struct cc{ int top,bom,fa,w; void f(int a, int b, int c, i... 阅读全文
posted @ 2013-08-03 14:39 xlc2845 阅读(142) 评论(0) 推荐(0)