• 2023-07-05【线段树】 POJ 3667 Hotel
    这道题和那道HDOJ3308LCIS比较像。。那道题目我就写了超久,当时是不确定保存什么信息。。这道题也写了很久,主要是各种低级错误,找错找了很久,超级火。。。。#include<iostream>#include<sstream>#include<algorithm>#include<vector>#include<queue>#include<stack>#inc
  • 2023-02-07POJ 3667 Hotel(线段树:区间覆盖+维护最大连续子区间长度)
    HotelDescriptionThecowsarejourneyingnorthtoThunderBayinCanadatogainculturalenrichmentandenjoyavacationonthesunnyshoresofLakeSuperior.Be
  • 2022-10-25POJ 3667 Hotel
    题目链接:​​传送门​​虽然是重题但还是要发一篇博客维护最长01串oh我之前写的好良心再放上来#include<iostream>#include<cstdio>#include<cstring>#include<cstdli