histcat
Follow
0
Followers
0
Followings
Patron
Home
Archives
离散化
Latest
Hottest
Most Commented
P1712 [NOI2016] 区间
link 首先,看到数据范围这么大,答案还与值域有关,考虑离散化 按照长度(离散前)排序以后肯定一段一段取 所以,考虑双指针,维护两个指针l,r, 意义是从l到r恰好是有m个区间包裹一个点 每次r++,如果包含同一个点的数量大于m了,就l++,知道不大于m 当然…
oi
1 min
2 years ago
Ownership of this blog data is guaranteed by blockchain and smart contracts to the creator alone.
Blockchain ID
#77793
Owner
0xb23e1283a3e772f3257d827057cd96cb1e1d47fb
Transaction Hash
Creation 0x7013b69f...35e0fb0abd
Last Update 0x92cee03a...3ab3b9030c
IPFS Address
ipfs://QmUHUnwUoEBcTKkeSh9Kf9YMvjWMv9GLpYL35fXQHCAjCs