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.
相關文章
相關標籤/搜索