
不知道是啥类
傻不拉叽
这个作者很懒,什么都没留下…
展开
-
寒假训练01B:hdu1029
Problem Description “OK, you are not too bad, em… But you can never pass the next test.” feng5166 says. “I will tell you an odd number N, and then N integers. There will be a special integer among t原创 2018-01-17 18:16:03 · 240 阅读 · 0 评论 -
最小字段和/最小正子段和/最大连续子段和(待更)
最小正子段和 对前缀和由小到大排序,在相邻位置的差中一定存在最终结果。 #include<iostream> #include<algorithm> using namespace std; int n; struct node { long long val; int pos; }; node a[50005]; bool cmp(node a,nod...原创 2018-06-02 23:19:46 · 1172 阅读 · 0 评论