Polynomial Sequences by 51b

a[9],*p=a,*q=a;main(){for(;~scanf("%d",p++);)if(getchar()%4){for(*p=0;q<p?:--p>(q=a);)*q=q[1]-*q++;printf("%d\n",-*p);}}

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

download

return to the top page