We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2008737 commit af33ba1Copy full SHA for af33ba1
searching.md
@@ -26,7 +26,7 @@ for (int i = 0; i < (1<<n); ++i)
26
{
27
if (x&1) take(pos);
28
pos++;
29
- x <<= 1;
+ x >>= 1;
30
}
31
// process permutation
32
0 commit comments