GCD Again by nu

p,x,d,g;main(N){while(d?g=p%d,p=d:~scanf("%d",!N--?p=x++&&!printf("%d\n",p),&N:&g))d=g;}

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

download

return to the top page