Displaying 1 result from an estimated 1 matches for "perm0".
Did you mean:
perm
2018 Mar 23
1
stack dump at -early-cse-memssa twice
...flipsCount;
if ((permCount & 1) == 0) {
checksum += flipsCount;
} else {
checksum -= flipsCount;
}
/* Use incremental change to generate another permutation */
while (1) {
if (r == 7) {
return maxFlipsCount;
}
int perm0 = perm1[0];
i = 0;
while (i < r) {
int j = i + 1;
perm1[i] = perm1[j];
i = j;
}
perm1[r] = perm0;
count[r] = count[r] - 1;
if (count[r] > 0) break;
r++;...