CSU 2089 Bit String Reordering(模拟)

Description You have to reorder a given bit string as specified. The only operation allowed is swapping adjacent bit pairs. Please write a program that calculates the minimum number of swaps required.
相关文章
相关标签/搜索