GCD Again by twobit

a;b;main(t,c){for(gets(c);~scanf("%d",&c);printf("%d\n",a))for(a=0;c--;)for(scanf("%d",&b);b;a=t)b=a%(t=b);}

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

download

return to the top page