09 2014 档案

摘要:题意:给n个字符串(3#include #include #include #include #include #include #include #include #include #include using namespace std;#define MP make_pair#define l... 阅读全文
posted @ 2014-09-30 13:09 nextbin 阅读(285) 评论(0) 推荐(0) 编辑
摘要:输入n(1#include #include #include #include #include #include #include #include using namespace std;#define MP make_pair#define ll long long#define inf 0... 阅读全文
posted @ 2014-09-28 14:16 nextbin 阅读(202) 评论(0) 推荐(0) 编辑
摘要:很久以前就看到的一个经典题,一直没做,今天拿来练手。街霸给n#include #include #include #include #include #include #include #include using namespace std;#define MP make_pair#define ... 阅读全文
posted @ 2014-09-28 10:14 nextbin 阅读(206) 评论(0) 推荐(0) 编辑
摘要:参考:http://blog.csdn.net/qian99/article/details/39138329参考的链接里说明得很好,注释也很好。。。thanks for sharing朴素的想法不难,dp[i][j][k]类似背包做法即可。但朴素思想复杂度过高。这里主要是用到 dif 那个变量,只... 阅读全文
posted @ 2014-09-10 17:40 nextbin 阅读(267) 评论(0) 推荐(0) 编辑
摘要:建议初学者先参考:伍昱的《由对称性解2-sat问题》 -03年IOI国家集训队论文ppt还有参考http://www.cnblogs.com/silver-bullet/archive/2013/02/18/2915097.html下面的算法一指暴力枚举,算法二指缩点拓扑。HDU 1814Peace... 阅读全文
posted @ 2014-09-02 19:35 nextbin 阅读(195) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示