摘要: http://memphis.is-programmer.com/posts/46317.html http://fanhq666.blog.163.com/blog/static/819434262011021105212299/ 阅读全文
posted @ 2016-12-08 22:36 狡啮之仰 阅读(296) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int maxn=1e5+7; struct Node{ int val,rev,max,min; Node(){} Node(int _rev,int _max,int _min){ this->rev=_rev; this... 阅读全文
posted @ 2016-12-08 22:34 狡啮之仰 阅读(191) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/liyuanbhu/article/details/7882789 首先要了解多项式乘法,除法 了解模2运算的含义,多项式除法后合并同类项时。。系数%2处理 大大简化了除法运算。。并且运算方式跟异或对应上了。。很好。。 阅读全文
posted @ 2016-12-08 08:27 狡啮之仰 阅读(127) 评论(0) 推荐(0) 编辑
摘要: uva11729 这个题的题意是 你有n个部下,每个部下需要完成一项任务。第i个部下需要你花Bi分钟交代任务,然后他会立刻独立地、无间断地执行Ji分钟后完成任务。 你需要选择交待任务的顺序,使得所有任务尽早执行完毕(即最后一个执行完的任务应尽早结束)。注意,不能同时给两个部下交待任务, 但部下们可以 阅读全文
posted @ 2016-12-04 15:50 狡啮之仰 阅读(699) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int maxn=1e3+7; //maxn means the max const int INF=~0u>>1; struct node{ int to,cap,rev; node(int _to,int _cap,int _rev):to(_to),cap(... 阅读全文
posted @ 2016-12-04 03:45 狡啮之仰 阅读(248) 评论(0) 推荐(0) 编辑
摘要: //http://blog.csdn.net/PoPoQQQ/article/category/2542243 阅读全文
posted @ 2016-12-01 17:08 狡啮之仰 阅读(168) 评论(0) 推荐(0) 编辑
摘要: // 阅读全文
posted @ 2016-12-01 17:05 狡啮之仰 阅读(112) 评论(0) 推荐(0) 编辑
摘要: // 阅读全文
posted @ 2016-12-01 17:03 狡啮之仰 阅读(100) 评论(0) 推荐(0) 编辑
摘要: // 阅读全文
posted @ 2016-12-01 17:02 狡啮之仰 阅读(163) 评论(0) 推荐(0) 编辑
摘要: // 阅读全文
posted @ 2016-12-01 17:01 狡啮之仰 阅读(117) 评论(0) 推荐(0) 编辑