ISBN2 by 51b

char*p,s[];x,y;main(i,n){for(;gets(s);)for(p=index(s,63),*p=58;(*p)-->48;(i%2?y%10:x%11)||puts(s))for(x=y=0,i=4;n=s[i];y+=n*(i++%2*2+1))x+=n%30*(14-i);}

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

download

return to the top page