Linux words by yuyarin(no bin)

c;char*p;main(i,s){for(;p=gets(s);printf("%d\n",i>4?c:-1))for(i=c=0;*p;++p-2>s&&*p*p[1]*p[2]||i++)c+=*p%32!="LINUX"[i]-64;}

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

download

return to the top page