ISBN2 by 51b

char s[];x;main(i,n,m){for(;gets(s);s[m]=(i%2?m&1?3:9:"-20/5.4316"[m-4])*x%(11-i%2)+48,puts(s))for(x=0,i=3;n=s[++i];)n-63?x+=n%48%30*(s[14]?i%2*2+1:14-i):(m=i);}

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

download

return to the top page