GCD Again by nn

for((r=readline)();a=r(i=j=r()).split(' ');print(g))for(g=907;~i;)for(i=j,g--;a[--i]%g<1;);

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

download

return to the top page