2019ccpc专题

2019CCPC湘潭邀请赛 Chika and Friendly Pairs(莫队+树状数组)

Problem Description Chika gives you an integer sequence a1,a2,…,an and m tasks. For each task, you need to answer the number of “friendly pairs” in a given interval. friendly pair: for two integers a

array(2019CCPC网络预选赛 hdu6703主席树+set)主席树求大于等于k的最小值

Problem Description You are given an array a1,a2,…,an(∀i∈[1,n],1≤ai≤n). Initially, each element of the array is unique. Moreover, there are m instructions. Each instruction is in one of the followin

2019CCPC女生赛wfinal小结

2019.ccpc-wfinal总结 2019ccpc女生赛离它结束有四天了,在这个期间我想了很多,想了想还是决定写这个总结。作为这个队伍唯一的一名大一队员,我很庆幸,能跟着两个学姐一起打比赛,计爱玲师姐,即将工作,张莹俐学姐。这估计都是他们最后一次参加现场赛了,也不知道我以后还能否有机会参加女生赛了。前不久参加2019安徽省ACM竞赛,依旧是以一支女队参加比赛,结局两手空空,这次wfinal,