Displaying 1 result from an estimated 1 matches for "maxflipscount".
2018 Mar 23
1
stack dump at -early-cse-memssa twice
...*/
// n auf 7 festgenagelt
// printf gelöscht
// Ternäroperator umgeschrieben
// %2 ~> &1
// inline gelöscht
int max(int a, int b)
{
// return a > b ? a : b;
if (a > b) {
return a;
}
return b;
}
int fannkuch7()
{
int perm[7];
int perm1[7];
int count[7];
int maxFlipsCount = 0;
int permCount = 0;
int checksum = 0;
int i;
for (i=0; i<7; i+=1)
perm1[i] = i;
int r = 7;
while (1) {
while (r != 1) {
count[r-1] = r;
r -= 1;
}
for (i=0; i<7; i+=1)
perm[i] = perm1[i];...