ACPC 2018 Day3 F: 01 Ƒ (Binary String with Slit)