1 2 3 4 5 6 7 8 9 10 11 12
int a[8]; int s244(void) { int lrc, j; lrc = 0; for (j=0; j<7; j++) if(a[j] != a[j+1]) lrc = 1; if (lrc != 0) return 0; return 1; }