alphabet soup by bbq

#define Z for(i=0;i<26;i++)
char a[99],*b=a+30,*c=a+60,d;int main(){for(;d++<100;){int i,j=1,k=1;scanf("%s",a);Z b[i]=a[i]-=97;while(j--){Z c[i]=a[b[i]];Z j|=(b[i]=c[i])!=i;k++;}printf("%d\n",k);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)


return to the top page