当前位置: 首页 > news >正文

营销型网站用什么系统西安摩高网站建设

营销型网站用什么系统,西安摩高网站建设,在哪建企业网站好,百度指数的使用方法题意#xff1a; 给定一个序列#xff0c;问在这个序列里有多少区间第k的的数m 思路#xff1a; 在比赛的时候是多想了#xff0c;开始像区间第k大的问题#xff0c;赛后想想实在是偏了。 正确的解法是枚举起点然后用尺取法维护一段区间#xff0c;直到找到k个数…题意 给定一个序列问在这个序列里有多少区间第k的的数m 思路 在比赛的时候是多想了开始像区间第k大的问题赛后想想实在是偏了。 正确的解法是枚举起点然后用尺取法维护一段区间直到找到k个数m的最短终点rans便是后边这一小段即n-r1。 code #include iostream #include cstdio #include cmath #include algorithm #include cstring #include sstream #include string #include vector #include list #include queue #include stack #include map #include set #include bitsetusing namespace std;typedef long long ll; typedef unsigned long long ull; typedef long double ld;const int INF0x3fffffff; const int inf-INF; const int N200005; const int M2005; const int mod1000000007; const double piacos(-1.0);#define cls(x,c) memset(x,c,sizeof(x)) #define cpy(x,a) memcpy(x,a,sizeof(a)) #define ft(i,s,n) for (int is;in;i) #define frt(i,s,n) for (int is;in;i--) #define lson l,m,rt1 #define rson m1,r,rt1|1 #define lrt rt1 #define rrt rt1|1 #define middle int m(rl)1 #define lowbit(x) (x-x) #define pii pairint,int #define mk make_pair #define IN freopen(in.txt,r,stdin) #define OUT freopen(out.txt,w,stdout)int read() {char ch;while (ch getchar(), !isdigit(ch));int res ch - 0;while (ch getchar(), isdigit(ch))res res * 10 ch - 0;return res; } //密封线 int a[N]; int main() {int Tread();while (T--){int nread(),mread(),kread();for (int i1;in;i) a[i]read();int num0,r0;ll ans0; //num表示大于m的个数,r为最短终点for (int i1;in;i){while (numkrn){r;num(a[r]m);}if (numk) break;ansn-r1;num-(a[i]m);}printf(%I64d\n,ans);} }
http://wiki.neutronadmin.com/news/47359/

相关文章:

  • 请问网上有没有比较好的网站可以做照片书的呀?要求质量比较好的!网络营销渠道的功能包括
  • 内蒙古建设工程造价信息网官方网站优化大师是什么意思
  • 旅游网站开发需求百元建网站
  • 衡水企业做网站推广哪些网站可以找到兼职做报表的
  • 小程序跳转到网站电商网站开发与运营
  • 做pc网站会连带手机版网站确定关键词 如何做
  • 贵阳市 网站建设wordpress个人简历
  • 自己做的网站别人怎么做精准引流推广
  • 电脑网站推荐天眼在线查企业查询系统
  • 国家和住房城乡建设部网站郑州十大最有名的公司
  • 网站的收录情况怎么查网络架构设计方案
  • 推荐o2o网站建设建个网站多少费用
  • 网站制作的详情表水陆运输类网站如何建设
  • 简单的网站源码公司装修费用可以一次性入账吗
  • 网站空间哪家做的好单位网站链接怎样做
  • 怎么建设手机网站一般建设网站大概需要多少钱
  • 网站开发 chrome浏览器崩溃潍坊网站建设设计
  • wordpress弹幕播放器关键词优化公司费用多少
  • 如何建设电影网站wordpress 打赏
  • 织梦发布网站门户网站模块
  • seo网站关键词优化工具网站关键词在哪里修改
  • 优化网站seo广州天河区小学排名
  • 阳江企业网站建设王也道长头像
  • 北京企业官网网站建设哪家好泉州网站建设公司招聘销售
  • 重庆做网站开发的公司安全工程师证报考条件是什么
  • 南阳网站制作价格门户网站自查报告
  • 阿里云建站售前咨询hk域名网站
  • 网站建设情况总结旅游网站效果图
  • 最好网站开发公司电话网页设计类型与风格
  • 购物网站可以备案吗教室室内设计平面图