计蒜客 41387.XKC's basketball team-线段树(区间查找大于等于x的最靠右的位置) (The Preliminary Contest for ICPC Asia Xuzhou ...-CSDN博客网友收藏

计蒜客 41387.XKC's basketball team-线段树(区间查找大于等于x的最靠右的位置) (The Preliminary Contest for ICPC Asia Xuzhou ...-CSDN博客

文章浏览阅读113次。XKC's basketball teamXKC , the captain of the basketball team , is directing a train ofnnteam members. He makes all members stand in a row , and numbers them1 \cdots n1⋯nfrom left to righ..._对于每个商店,找到它右边最远位置pos,满足a_pos < a_i,输出 po......
阅读全文