2020牛客暑期多校训练营(第六场)K.K-Bag

2020牛客暑期多校训练营(第六场)K.K-Bag 题目连接html 题目描述 A sequence is called kk-bag, if and only if it is put in order by some (maybe one) permutations of 11 to kk. For example, 1,2,3,2,1,3,3,2,1 is a valid 3-bag seq
相关文章
相关标签/搜索