Unnamed
public c v1 · immutable/* please note that this is painful slow, and redundant, bear with me :) */ for (i=0; i<TIMES; i++) { cycles[i].frequency = 1; for (j=0; j<TIMES; j++) { if(j==i) continue; if(cycles[j].value == cycles[i].value) { cycles[i].frequency += 1; if (freqmax < cycles[i].frequency) { freqmax = cycles[i].frequency; cyclesmax = cycles[i].value; } } } if (verbose) fprintf(stderr, ((100*i)%TIMES) ? "" : ((10*i)%TIMES) ? "%2.0f%%..." : "%0.f%%...\n" , ((float)i*(float)100)/(float)TIMES); }