Permutation: divide 713 0's and 31 1's over 744 different positions [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 22 days ago . So I need to figure out all the possible permutations to divide 31 1's and 713 0's over 744 positions (all zeroes and ones are exactly the same). I created the following code to create all permutations of 0's and 1's over 744 positions and my idea was to delete those lines which do not sum to 31,