UVa 12545 - Bits Equalizer

出處:https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3990

解題策略:Greedy

首先想辦法處理S為1,T為0的個數,需要S為0與T為1進行互換

如果不夠,就需要S為?,T為1,先將S設為0再互換