apple pie's submission of Distinct Binary Strings | CodeChef