![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HDU
shgqmrf15
这个作者很懒,什么都没留下…
展开
-
HDU1166
#include <cstdio>#include <cstring>using namespace std;const int maxn=50005;int t[maxn*4],h[maxn],a[maxn];int N,T,tl,tr,ans;char x;void Pre(){ memset(t,0,sizeof t);}void Build(int k,int l,i原创 2017-06-24 15:50:06 · 178 阅读 · 0 评论 -
HDU 1556
#include <cstdio>using namespace std;const int maxn=100010;int t[maxn*4],h[maxn];int tl,tr,N,ans; void Pre(){}void Build(int k,int l,int r){ t[k]=0; if (l==r) { h[l]=k;原创 2017-06-24 16:53:23 · 241 阅读 · 0 评论