2019 BUPT Winter Training #1 div2 题目记录帖 无答案

B-B You are given a ternary string (it is a string which consists only of characters ‘0’, ‘1’ and ‘2’). You can swap any two adjacent (consecutive) characters ‘0’ and ‘1’ (i.e. replace “01” with “10”
相关文章
相关标签/搜索