lowbit refer other's elegant code, greedy algorithm need more practice
comment freopen, googd