计蒜客 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......
阅读全文
The 2019 Asia Nanchang First Round Online Programming Contest (H The Nth Item) - BenFromHRBUST_icpc asia nanjing first round online programming c-CSDN博客网友收藏

The 2019 Asia Nanchang First Round Online Programming Contest (H The Nth Item) - BenFromHRBUST_icpc asia nanjing first round online programming c-CSDN博客

文章浏览阅读300次。The 2019 Asia Nanchang First Round Online Programming Contest (H The Nth Item)题意给定一个递归式,给定一个数字n和q次操作,每次操作将上一次的答案ans和上一次的n,(ans*ans)^n作为这次的n,并将每次的ans异或起来作为最终答......
阅读全文