Answer the question
In order to leave comments, you need to log in
Searching 0 and 1 in si?
It is necessary to go through all possible combinations of 0 and 1, for example, we enter the number 2, the output is
0 0,
0 1,
1 0,
1 1
, and so on for any number
Answer the question
In order to leave comments, you need to log in
Normal loop, from zero to 2 to the power of the specified number (not including the upper bound), in increments of one. The desired combinations of zeros and ones are binary representations of the cycle counter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question