![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ccpc邀请赛
天涯-沧海
acmer
展开
-
2019CCPC湖南全国邀请赛(广东省赛、江苏省赛)B Build Tree
Problem DescriptionYou need to construct a full n-ary tree(n叉树) with m layers.All the edges in this tree have a weight.But this weight cannot be chosen arbitrarily you can only choose from set S,the...原创 2019-05-20 21:34:12 · 776 阅读 · 4 评论 -
2019CCPC湖南全国邀请赛(广东省赛、江苏省赛) E Hello xtCpc
Problem DescriptionYou have a string of lowercase letters.You need to find as many sequence “gdCpc” as possible.But letters in the same position can only be used once。InputThe input file c...原创 2019-05-20 21:43:27 · 375 阅读 · 0 评论 -
2019CCPC湖南全国邀请赛(广东省赛、江苏省赛) C.Chika and Friendly Pairs
Problem DescriptionChika 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 ai...原创 2019-05-20 21:45:51 · 286 阅读 · 0 评论 -
2019CCPC湖南全国邀请赛(广东省赛、江苏省赛)重现赛 K.SSY and JLBD
#include<cstdio>#include<cstring>using namespace std;char str[14][14];int main(){ int i; while(scanf("%s",str[0])!=EOF){ for(i=1;i<14;i++){ scanf("%s",s...原创 2019-05-20 21:48:08 · 324 阅读 · 0 评论